English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
LexiFI and conversion to date
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-24 (23:28)
From: Joel Reymont <joelr1@g...>
Subject: LexiFI and conversion to date
Folks,

I see this in the LexiFI presentation:

# let t1 = 2002-12-20T16:00 (* ISO 8601 notation *) ;;
val t1 : date = 2002-12-20T16:00:00

What type of a value is 2002-12-20T16:00 and how does it get  
translated into a date?

	Thanks, Joel

--
http://wagerlabs.com/