Pike v8.0 release 1738

Method Calendar.YMD.dwim_time()


Method dwim_time

Day dwim_time(string date_time)
Day dwim_time(string date_time, object TimeRangecontext)

Description

Tries a number of different formats on the given date_time.

Note

Casts exception if it fails to dwim out a time. "dwim" means do-what-i-mean.