You Are Here:
You are here: SCPI Guide > RSG Command Reference > RSG Commands > SOURce:SCENario:DATEtime?

SOURce:SCENario:DATEtime?

Function

Queries the Date, Time and Timescale of the running a scenario returned during scenario execution.  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, 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|gal|glo|glo0|ent|wnt>

Note

If scenario is not running, an error is returned.

Parameter

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