Visara Master Console Center Scripting Guide Manual do Utilizador Página 203

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 262
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 202
Chapter 5 Script Commands
Scripting Guide 203
Time Related Codes
Code Description Notes/Examples
H Hour number for a 24-hour clock
with a leading zero filler
Between 00 and 23
I Hour number for a 12-hour clock
with a leading zero filler
Between 01 and 12
M Minute number with a leading
zero filler
Between 00 and 59
p AM or PM indicator AM, PM
S Second number with a leading
zero filler
Between 00 and 61
T Time shortcut for “%H:%M:%S” 16:08:02
Z Time zone name, if defined to the
system (TZ env var)
CDT, CST, PST
Table 17. Time-related codes for TIMESTR()
Shortcut Codes
Code Description Notes/Examples
c Date and time format “%a %b %d
%H:%M:%S %Y”
Mon Jan 01 00:00:00
1990
D Date format “%m/%d/%y” 06/20/90
r Time format “%I:%M:%S p” 04:08:02 PM
R Time format “%H:%M” 16:08
T Time format “%H:%M:%S” 16:08:02
Table 18. Shortcut codes for TIMESTR()
Miscellaneous Codes
Code Description Notes/Examples
n Newline character (causes a
blank line)
t Tab character (causes tabbing to
next screen field)
% Percent character
Table 19. Miscellaneous codes for TIMESTR()
Vista de página 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 261 262

Comentários a estes Manuais

Sem comentários