Now - Built-in Date & Time Function¶
Purpose¶
Now returns the current date and time.
Syntax¶
Now()
Arguments¶
None
Returns¶
DateTime
See also¶
- Date
- DateAdd
- DateDiff
- DatePart
- DateValue
- DateSerial
- Day
- Hour
- InAgedToDays
- InLast4WeeksToSunday
- InLast7Days
- InLastFullMonth
- InLastFullWeek
- InLastYearMTD
- InLastYearYTD
- InLeapYear
- Minute
- Month
- MonthName
- Second
- Time
- TimeSerial
- TimeValue
- WeekAgo
- Weekday
- WeekdayName
- Year
Example¶
Dim dtSys
Let dtSys = Now()
Return dtSys // returns current date and time