Tu as la fonction DateStamp dans la Dos.library qui est faite pour ça.
En tout cas je l'utilise dans SysMon.
DateStamp -- Obtain the date and time in internal format
struct DateStamp *ds = DateStamp( struct DateStamp *ds );
FUNCTION
DateStamp() takes a pointer to a DateStamp structure,
which will be set to the current system time.
Si c'est ça que tu souhaitais et si tu veux que je te file mon exemple, n'hésite pas.
En passant et en parlant de date en C, pourrais-tu tester mon prog là, stp :
http://www.amiga-ng.org/viewtopic.php?topic=1536&forum=14 Message édité par : zzd10h / 29-04-2013 21:16