website logo
Auteur
avatar
zzd10h

Forum » » Création-Développement » » Coding C/C++, conna


Posté : 29-04-2013 21:15 icone du post

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

Cet article provient de Le site des utilisateurs francophones actuels et futurs d'AmigaOS 4.x
https://amiga-ng.org/viewtopic.php?topic=1537&forum=14