|
From: <php...@li...> - 2007-05-12 17:30:03
|
Hi,
> $startDate = new Java('java.sql.Timestamp',
> gmmktime(0,0,0,10,3,2007));
> $endDate = new Java('java.sql.Timestamp', time());
> 1970-01-14 10:56:09.6
> 1970-01-14 07:29:12.32
depending on what gmmktime() and time() return, the
above results are correct. Both, time() and gmmktime()
must return a java.lang.long, a 64bit value
representing the seconds since some time in the
history. Please see the sql.Timestamp API
documentation for details.
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
|