Although Cartographica isn't awash in great date functionality, mostly owing the the lack of solid date, time, and timezone support in many geospatial data formats, it Column Formulas do have access to the date functionality of Python, which means there are some sophisticated date capabilities available.
Most of the date and time functions work on datetime objects,
which are not usable by Cartographica directly.
However, they can be further operated on to retrieve the data stored within them by using
datetime.today().day will provide the integer day of the month.
Dates can also be converted into strings by using the
strftime() method on a
datetime.today().strftime("%Y-%m-%d") will provide the current date in
"YYYY-MM-DD" form, or
2020-01-23 if it were the date this page was being written.
Today's date as a datetime object.
Today's date and time in UTC as a datetime object.
String representation of the requested date using the specified
Return the day of the week as an integer (0=Sunday, 1=Monday, etc.).
Return the date and time as a string in human-readable format.
Create a new datetime object from the date_string using the requested format.