I have a $newdate variable that contains date manipulated with mktime and it returns this value
1007107200
To extract the month I used this
$newmonth = strftime ("%b", $newdate);
and it works fine returning NOV
to get the Year (4 digits) I tried
$newyear = strftime ("%g", $newdate);
and
$newyear = strftime ("%G", $newdate);
but it returns nothing ...
Anyone can tell me what I have to do to get the
year (4 digits for example "2002") from 1007107200 ?
Thank you