Command getdatetime

The command getdatetime is used to get the device date and time.


  1. format [string]
    Date format retrieved where:
    • yy: four-digit year
    • y: two-digit year
    • M: two-digit month
    • d: two-digit day
    • h: two-digit hour
    • m: two-digit minute
    • s: two-digit second
  2. returnvariable [string]
    Store the returned date.


In the example above, the command getdatetime retrieves the current date and time which is then displayed on the display.