datetime{...}

Creates a date-time value, with a date and time of day on that date.

The date part of the format is quite flexible, the main issue is avoid ambiguous dates. Dates like 4/8/2000 could be interpreted as 4th August or 8th April. This issue can be avoided in several ways: you can use the ISO format (e.g. datetime{2010-04-05 12:34} is 5th April), or you can use a month name, e.g. date{5 April 2010 4:56}

For the time part, you can use the 24-hour clock or AM/PM. Fractional seconds are allowed.

ExamplesClick an example to insert it
datetime{10 April 2003 08:57}datetime from dt(date from ymd(2003{year}, 4{month}, 10{day}), time from hms(8{hour}, 57{minute}, 0{s}))
datetime{2010-11-28 9:12:03 PM}datetime from dt(date from ymd(2010{year}, 11{month}, 28{day}), time from hms(21{hour}, 12{minute}, 3{s}))
datetime{Sep 3 1921 23:59:59.999999}datetime from dt(date from ymd(1921{year}, 9{month}, 3{day}), time from hms(23{hour}, 59{minute}, 59.999999{s}))