NovaStar Program Reference / System / nstime
Overview
The nstime
shell script program prints the current time using the format:
MM/DD/YYYY hh:mm:ss
where:
- date and time are padded with zeros if necessary
- month has range
01
to12
- day has range
01
to number of days in the month - year is four digits
- hour has range
00
to23
- minute has range
00
to59
- second has range
00
to59
- time zone is from the system
Command Line Usage
The command line syntax is:
nstime [parameters]
Optional values are shown in square brackets. Command line parameters are as follows.
nstime
Command Line Parameters
Parameter | Description | Default |
---|---|---|
-h --help |
Print program usage. | |
-v --version |
Print the program version (same as the NovaStar system version). |
Examples
The following illustrates the program usage:
nstime
10/03/2021 12:03:20
Scheduling
The command is not run on a schedule.
NovaStar Administrator Interface
The program is not called from the Administrator.