Visara Master Console Center Scripting Guide Manual de usuario Pagina 214

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 213
Chapter 6 Obsolete Material
Scripting Guide 214
Commands
KEY Command (Date and Time Formats)
The time and date KEY command formats have been deprecated. The
TIMESTR command should be used instead (see page 201).
Note: Other KEY commands formats may still be used (see page
138).
Table 21 lists deprecated date formats, the KEY commands, and the
equivalent TIMESTR format:
Date Format Key
Command
TIMESTR replacement
yymmdd [DT1] $dt = TimeStr(Seconds(), “%y%m%d”)
yy.mm.dd [DT2] $dt = TimeStr(Seconds(), “%y.%m.%d”)
yyddd [DT3] $dt = TimeStr(Seconds(), “%y%j”)
yy.ddd [DT4] $dt = TimeStr(Seconds(), “%y.%j”)
yy/mm/dd [DT5] $dt = TimeStr(Seconds(), “%y/%m/%d”)
mmddyy [DT6] $dt = TimeStr(Seconds(), “%m%d%y”)
mm.dd.yy [DT7] $dt = TimeStr(Seconds(), “%m.%d.%y”)
mm/dd/yy [DT8] $dt = TimeStr(Seconds(), “%m/%d/%y”)
dddyy [DT9] $dt = TimeStr(Seconds(), “%j%y”)
ddd.yy [DTA] $dt = TimeStr(Seconds(), “%j.%y”)
Table 21. Date Formats and Key Command Equivalents
Table 22 lists deprecated time formats, the KEY commands, and the
equivalent TIMESTR format:
Time
Format
Key
Command
TIMESTR replacement
HHMMSS [TM1] $tm = TimeStr(Seconds(), “%H%M%S”)
HH.MM.SS [TM2] $tm = TimeStr(Seconds(), “%H.%M.%S”)
HH:MM:SS [TM3] $tm = TimeStr(Seconds(), “%H:%M:%S”)
HHMM [TM4] $tm = TimeStr(Seconds(), “%H%M”)
HH.MM [TM5] $tm = TimeStr(Seconds(), “%H.%M”)
HH:MM [TM6] $tm = TimeStr(Seconds(), “%H:%M”)
Table 22. Time Formats and Key Command Equivalents
Vista de pagina 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 261 262

Comentarios a estos manuales

Sin comentarios