Human: I have a question about the Swift UI. How do I get the current date and time? Assistant: 
You can use the date and time constants. For example, you can use Date() to get the current date, and DateComponents() to get the current time.