| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | hiya ppl i have added the date function into my php page and it doesnt seem to be working correctly... i have done it before with no problems but on this page i have just created it started out working and now after deuploading the files it is displaying yesterday as todays date??? why??? i use this <? $today = date("l, d F Y"); ?> and then add the echo $today in my code... and like i said it is displaying a date but it is yesterdays???
__________________ Web and Graphic Design services - http://www.blackdropdesign.com |
| |
| | #2 (permalink) |
| Senior Member | the obvious thing is that the server is most likely on a different time zone as you so for the server that is still the date. Alternatively check that the time and date on the server itself is correct.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Googlism - What does google think of you? | deadserious | The Break Room | 55 | 12-15-2005 09:09 AM |
| All Domains $10 | Filtered | Domains For Sale - Fixed Price | 8 | 01-27-2005 08:09 PM |
| All 52 names 10-50$ | Filtered | Domains For Sale - Fixed Price | 1 | 01-18-2005 05:26 PM |