svn commit: samba r8759 - in branches/SAMBA_4_0/source: libnet torture/libnet

tridge at samba.org tridge at samba.org
Tue Jul 26 06:28:36 GMT 2005


Mimir,

 > I thought of it only as a way to pass a values to a function. Nothing
 > more.

That's exactly where it should not be used :-)

The problems are many:

 - what date format to use?
 - with or without DST?
 - local time or GMT ?
 - what time resolution? 
 - How to represent microseconds?
 - how do you add a offset to it?
 - how do you compare two time strings?

Please use NTTIME (a 64 bit integer) or 'struct timeval' for all time
parameters. 

Cheers, Tridge


More information about the samba-technical mailing list