Abilitare JavaScript per vedere questo sito.

Converte un orario specificato in valore testuale.

Sintassi

string time_to_string(time t, int32 fmt=time::iso_format)

t

Valore orario

fmt

Formato conversione (vedi tabella formati data/ora; opzionale)

Risultato

Rende la stringa convertita, "" se orario non valido

Esempio di utilizzo:

time t1 = current_time();

trace("Sono le " + time_to_string(d1, time::local_format));

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC