FormatHttpDateTime (open)

Formats a datetime in the HTTP required format

Syntax

LOADLIB "mod::system/lib/webserver.whlib";

STRING FUNCTION FormatHttpDateTime(DATETIME whattime)

Parameters

DATETIME whattime

Time to format, in UTC time.

Return value

STRING

The formatted time

Description

This function will format a datetime for HTTP, eg for use inside a Last-Modified header