kanala Posted August 2, 2007 Share Posted August 2, 2007 I'm having a bit of trouble with my date/time php thing. ini_set('date.timezone', 'Europe/London');$today = date("F j, Y, G:i"); Firstly the timezone bit doesn't work and always shows 1 hour backwards from UK time.And also the actual time is cut off by 1 digit e.g. 17:5 instead of 17:50 (when there are 4 digits).Thanks Link to comment Share on other sites More sharing options...
vijay Posted August 2, 2007 Share Posted August 2, 2007 Hi..yea I have also cheked. I am getting same thing..Regards,Vijay Link to comment Share on other sites More sharing options...
smartalco Posted August 2, 2007 Share Posted August 2, 2007 for the 1 hour thing, you probably have your daylight savings setting wrong somehowas for cutting off a digit, i don't know Link to comment Share on other sites More sharing options...
cpugeek Posted August 2, 2007 Share Posted August 2, 2007 i'm not sure if the time is exact.cuz idk wut time it is in Londonhere try this: <?phpini_set('date.timezone', 'Europe/London');echo "Time: ". date("F j, Y, G:i")."\n"; ?> as for the dropped digit the only thing i can think of is checking your cssto see if the container is too small. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.