svn commit: samba r8759 - in branches/SAMBA_4_0/source: libnet
torture/libnet
Rafal Szczesniak
mimir at samba.org
Tue Jul 26 08:54:19 GMT 2005
Tridge,
On Tue, Jul 26, 2005 at 04:28:36PM +1000, tridge at samba.org wrote:
> 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?
ISO specifies timestamp string, AFAIR (used commonly in SQL statements).
> - 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.
All right, all right, I will :) Good thing I haven't started this bits
yet...
cheers,
--
Rafal Szczesniak
Samba Team member http://www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20050726/921603cb/attachment.bin
More information about the samba-technical
mailing list