A string formatted in the way that .Timestamp.toISOExtString and .Timestamp.toISOString format dates, also YAML like spaces seprated strings are accepted. The function is case sensetive.
(optional) result value.
bool on success for two arguments overload, and the resulting timestamp for single argument overdload.
DateTimeException if the given string is not in the correct format. Two arguments overload is nothrow.
assert(Timestamp.fromString("2010-07-04") == Timestamp(2010, 7, 4)); assert(Timestamp.fromString("20100704") == Timestamp(2010, 7, 4));
Creates a Timestamp from a string.