Abilitare JavaScript per vedere questo sito.

Converte la data specificata in valore testuale.

Sintassi

string date_to_string(date d, int32 fmt=time::iso_format)

d

Valore data

fmt

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

Risultato

Rende la stringa convertita, "" se data non valida

Esempio di utilizzo:

date d1 = current_date();

trace("Oggi è il " + date_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