return the current date/time. If format is null (or missing), a long format is used. Otherwise, use characters to select what and how time information is returned.
Valid format codes:
a: day of week
c: date and time (numeric)
d: day of month/day of week
e: year
h: hour (24hour format)
m: month
n: minute
s: second
t: time
y: year
z: millisecond
a/p: either am or pm (when used with h converts from 24hour format)
The result of this function partially depends on the systems language settings.
Add comment