A5_RFC850DATE()

Syntax

Formatted_Date_Time as C = A5_RFC850DATE( Character_Date_Time as C )

Formatted_Date_Time as C = A5_RFC850DATE( Time_Date as T )

Argument

Description

Formatted_Date_Time

A date time value in the format: "Weekday, dd-Mon-yy hh:mm:ss GMT" ("Tuesday, 30-Mar-04 14:17:02 GMT")

Character_Date_Time

A date time value formatted "mm/dd/yyyy 0h:0m:0s am".

Time_Date

A date time value.

Description

The A5_RFC850DATE() function takes a date, either as a time or character, and converts it to a string following the RFC 850 format.

Supported By

Alpha Five Version 6 and Above

Example

dim t as T

t = now()

? a5_rfc850date(t)

= "Tuesday, 30 Mar 04 16:17:55 GMT"

See Also

Date and Time Functions