Function  Output
The date today is:   <%= Date %> 20/01/2022
The time now is:   <%= Time %> 22:08:52
The date and time is:   <%= Now %> 20/01/2022 22:08:52
The name of the day today is:   <%= WeekdayName(Weekday(Date)) %> Thursday
The abbreviated day name is:   <%= WeekdayName(Weekday(Date), True) %> Thu
The date is:   <%= Day(Date) %> 20
The name of the month is:   <%= MonthName(Month(Date)) %> January
The abbreviated month name is:   <%= MonthName(Month(Date), True) %> Jan
The month is:   <%= Month(Date) %> 1
The year is:   <%= Year(Date) %> 2022
The date 7 days ago was:   <%= DateAdd("d", -7, Date) %> 13/01/2022
The number of days until Christmas is:   <%= DateDiff("d", Now, DateSerial(Year(Date),12,25)) %> 339