Dates and times keyword summary
Action | Keywords |
---|---|
Get the current date or time. | Date, Now, Time |
Perform date calculations. | DateAdd, DateDiff, DatePart |
Return a date. | DateSerial, DateValue |
Return a time. | TimeSerial, TimeValue |
Set the date or time. | Date, Time |
Time a process. | Timer |
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.