Date & Time Constants

The following constants can be used anywhere in macros or scripts in place of the actual values.

If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.

KEEP IN MIND:

When using constants in the script editor, each constant must be prefaced by nl.

Date & Time constant

(macro editor)

Date & Time constant

(script editor)

Description

DaySunday

nlDaySunday

Sunday.

DayMonday

nlDayMonday

Monday.

DayTuesday

nlDayTuesday

Tuesday.

DayWednesday

nlDayWednesday

Wednesday.

DayThurday

nlDayThurday

Thursday.

DayFriday

nlDayFriday

Friday.

DaySaturday

nlDaySaturday

Saturday.

FormatConnection

nlFormatConnection

Connection date format.

FormatSystem

nlFormatSystem

System date format.

FormatUser

nlFormatUser

User date format.

IntYears

nlIntYears

Years.

IntQuarters

nlIntQuarters

Quarters.

IntMonths

nlIntMonths

Months.

IntWeeks

nlIntWeeks

Weeks.

IntDays

nlIntDays

Days.

IntHours

nlIntHours

Hours.

IntMinutes

nlIntMinutes

Minutes.

IntSeconds

nlIntSeconds

Seconds.

See Also

Date and Time Functions


© 2004-2021 looksoftware. All rights reserved.