[DGD] ctime() bug or feature?
Michael McKiel
crashnbrn71 at yahoo.ca
Sun Feb 8 16:05:36 CET 2004
--- Par Winzell <zell at skotos.net> :
>
> sscanf(ctime(time()), "%s %s %d %d:%d:%d %d",
> dayname, monthname, day, hour, minute, second, year)
>
> will -always- succeed and return 7, filling in all the variables with
> good values. I honestly don't understand how that space can possibly
> bother you. :)
>
> Zell
>
But..but explode was so much more fun and didn't use a gazillion variables :)
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list