I want to compare a GMTtime object that is read in from string format with the current system GMT Time.
The current GMT Time is
But I have trouble creating a GMT Time object from a string
dd mm yy
anyway, I have $dd, $mm and $yy initialised accordingly where $dd=1-31;
$mm=1-12
$year= 1900-20xx;
Tried
but run time error saying wrong number of arguments to gmttime? tried
, but no luck either!
The current GMT Time is
Code:
gmttime time
dd mm yy
anyway, I have $dd, $mm and $yy initialised accordingly where $dd=1-31;
$mm=1-12
$year= 1900-20xx;
Tried
Code:
$myTime=gmtime($dd,$mm,$year);
Code:
$myTime=gmtime(0,0,0,$dd,$mm,$year);