StringToDateTime extension

String extension to parse back to DateTime

on

Methods

toDateTime({String format = 'EEE, dd MMM'}) DateTime

Available on String, provided by the StringToDateTime extension

Parse a formatted string to DateTime Requires the same format used when formatting
toTimeDateTime({String format = 'HH:mm'}) DateTime

Available on String, provided by the StringToDateTime extension

Parse time only string (e.g., 'HH:mm') into today's DateTime