You Are Here:
You are here: SCPI Guide > Command Reference > Source Subsystem > SOURce:SCENario:DATEtime?

SOURce:SCENario:DATEtime?

Function

Query the Date, Time and Timescale of the running scenario or the start time of the loaded scenario.  The default timescale is GPS. However, the user can optionally provide a parameter to convert the current Date and Time of the running scenario to various timescales including GPS, UTC, BeiDou, QZSS, Galileo, GLONASS, EGNOS Network Time and WAAS Network Time. If no argument is provided, GPS time scale is returned.

Command Syntax

SOURce:SCENario:DATEtime? <gps|utc|bds|qzt|gal|glo|glo0|ent|wnt>

Return

String format:

MM-DD-YYYY hh:mm:ss.s AAA

…where MM=Month {01-12}, DD=day of month {01-31}, YYYY=year, hh=hours {00-23}, mm=minutes {00-59}, ss.s=seconds {00-60} with one decimal of sub-seconds digits.

The Timescale AAA= {GPS, UTC, BDS, GAL, GLO, GLO0, ENT, WNT} field supports various GNSS timescales. If AAA is not supplied, the default is GPS timescale.

Example

SEND:

SOURce:SCENario:DATEtime? GLO

READ:

05-07-2012 12:34:56.7 GLO