Date/time keywords – Boltek Lightning/2000 User Manual

Page 275

Advertising
background image

R E A L - T I M E L I G H T N I N G D E T E C T I O N

275

275

275

275

Date/Time Keywords

Keywords are not case sensitive, so @localdate is identical to
@LocalDate or @LOCALDATE.

@DateFilename

Returns a string suitable for use in a filename that
includes the date. The format is always yyyymmdd.
For example, if the date is December 25, 2010 then
the returned string will be ‘20101225’.

@DateTimeFilename

Returns a string suitable for use in a filename that
includes the date and time to the nearest second.
The format is always yyyymmddhhmmss. For
example, if the time is 11:25:30 PM on July 2, 2010,
then ‘20100702232530’ will be returned.

@DayOfWeek

Returns a number from 1 to 7 representing the day of
the week. Sunday is 1, Monday is 2, etc.

@HourOfDay

Returns a number from 0 to 23 representing the hour
of the day.

@LocalDate

The current date, in the format defined on your
computer.

Advertising