uFormatDate

Returns a user-defined string with date information.

Syntax

number uFormatDate(format, modifiers, ...)

Parameters

Examples

Usage

Special escape sequences in the user-defined format string are replaced by the referring date part.

Escape Sequence

Returns

%A

Weekday name

%a

Weekday name short

%B

Month name

%b

Month name short

%d

Day of month

%f

Fractional seconds SS.SSS

%H

Hour 00 – 24

%j

Day of year 000 – 366

%J

Julian day number

%m

Month

%M

Minute

%s

Seconds since 1970 – 01 – 01

%S

Seconds 00 – 59

%w

Day of week 0 – 6, 0=Sunday

%W

Week of year

%Y

Year 0000 – 9999

%%

%