Details About Date 1/2/2024. New date creates a new date object that you can modify or initialize with a different date while date returns a string of the current date/time, ignoring its arguments. Convert days to years, months and days.
You may find the date calculator useful if you want to check: It will also display the day of the week for each date.