DateString¶
Returns a string representation of a date. Without arguments, returns the current date/time.
Common format specifications¶
"ISODate"→2026-04-15"ISODateTime"→2026-04-15T12:34:56"DateTime"→Wed 15 Apr 2026 12:34:56"Date"→Wed 15 Apr 2026"Time"→12:34:56"Year","Month","Day"→ individual components