Getting different results for msqlDateOffset()

From: BillAdm (billpn1@giaspn01.vsnl.net.in)
Date: Sun Oct 31 1999 - 03:55:17 EST


Hi,

we have msql2.0.11 on Host platform is 'OSF1-V4.0-alpha'
and msql2.0.8 on Host platform is 'Solaris-2.6-Sparc'

I used following script to calculate the 30 days offset.

------------------------------------------------
#!/usr/bin/lite

$time = time();
$today = msqlUnixTimeToDate( $time);
$tomorrow =msqlDateOffset( $today,30,0,0 );

echo ( $today );
echo ( $tomorrow );
--------------------------------------
When executed on 30-Oct-1999, with offset 30(above),

on solaris we got - 28-Nov-1999
on DEC - 29-Nov-1999

Why is the difference ?

regards

anant

-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/



This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:03:52 EST