The ASP Month(), Day(), and Year() functions are used to return the date in it's individual components.
12
Month, Day, and Year Functions | Results |
month(Date()) | 12 |
day(Date()) | 10 |
year(Date()) | 2023 |
month(Now()) | 12 |
day(Now()) | 10 |
year(Now()) | 2023 |