MakeDateFromText (open)

Create a datetime from a date string

Syntax

LOADLIB "wh::datetime.whlib";

DATETIME FUNCTION MakeDateFromText(STRING datestring)

Parameters

STRING datestring

Date string to decode

Return value

DATETIME

The decoded datetime, in GMT, or a default datetime if the date could not be decoded

Description

This function decodes various internet date formats (RFC822, RFC850, RFC1123, ISO8601)