beautypg.com

Date related codes for timestr(), Table 16. date-related codes for timestr() – Visara Master Console Center Scripting Guide User Manual

Page 202

background image

Chapter 5 Script Commands

Scripting Guide

202

Date Related Codes for TIMESTR()

Code Description

Notes/Examples

a

Weekday short name

Mon, Wed

A

Weekday long name

Monday, Wednesday

b

Month short name

Jan, Feb

B

Month long name

January, February

C

Century number with a leading
zero filler

Between 00 and 99

d

Day of the month number with a

leading zero filler

Between 01 and 31

e

Day of the month number with a

leading space filler

Between 1 and 31

j

Julian day number of the year

with leading zero fillers

Between 001 and 366

m

Month number with a leading
zero filler

Between 01 and 12

u

Weekday number

Between 1 and 7,
Mon=1

U

Week number of the year (Sun as

first day of week)

Between 00 and 53

V

Week number of the year (Mon

as first day of week)

Between 01 and 53

w

Weekday number

Between 0 and 6,

Sun=0

W

Week number of the year (Mon
as first day of week)

Between 00 and 53

y

Year without the century with a

leading zero filler

Between 00 and 99

Y

Year with the century with

leading zero fillers

Between 0000 and

9999

Table 16. Date-related codes for TIMESTR()