DateObject
DateObject[] gives the current local date and time. DateObject[{y, m, d}] creates a date object for a specific date.
Examples
Work with dates:
(* Current date *)
DateObject[]
(* Specific date *)
DateObject[{2024, 12, 25}]
(* With time *)
DateObject[{2024, 1, 1, 12, 0, 0}]Please visit the official Wolfram Language Reference for more details.