Download opzione software

Transcript
9.10 Parametri stringa
Per la formattazione della data si possono impiegare i seguenti
formati:
 00: GG.MM.AAAA hh:mm:ss
 01: G.MM.AAAA h:mm:ss
 02: G.MM.AAAA h:mm
 03: G.MM.AA h:mm
 04: AAAA-MM-GG- hh:mm:ss
 05: AAAA-MM-GG hh:mm
 06: AAAA-MM-GG h:mm
 07: AA-MM-GG h:mm
 08: GG.MM.AAAA
 09: G.MM.AAAA
 10: G.MM.AA
 11: AAAA-MM-GG
 12: AA-MM-GG
 13: hh:mm:ss
 14: h:mm:ss
 15: h:mm
Esempio: lettura dell'ora di sistema attuale nel formato
GG.MM.AAAA hh:mm:ss e memorizzazione nel parametro QS13
37 QS13 = SYSSTR ( ID321 NR0)
366
Programmazione: parametri Q