Ask a Question related to PHP Development, Design and Development.
-
todd #1
DATE HELP QUICKLY
i have a site that displays shows. i am getting my date from a mysql
function "CURDATE()" but it give me the date one day ahead of the
actual date. i tried $myrow[8] -1 but that doen't work. im sure iknow
what to do but its not hitting the brain right now. and the client
wants a fix asap please help
thanks
todd Guest
-
video conference example need help, quickly !
hi flash fans ...im working with the video conference example and its not possible for me to get a connecten to my local server ! whats the problem... -
resizing quickly?
Can I resize a flash file and re-publish or can I reduce the published size without shrinking everything individually and reassembling? I know... -
doing searches - need help really quickly
hello, a client im doing a webpage for wants me to add a search type thing on the site - the site is fully flash. what the search is for is for... -
How Much Space?!? PLZ HELP QUICKLY!
Hi Paul, What you plan is fine, and 5GB is plenty for a normal installation. Keep in mind that if you format and reinstall the system partition,... -
How Much Space?!? PLZ HELP QUICKLY
Thank You VERY MUCH! make was -
Peter Jones #2
Re: DATE HELP QUICKLY
[email]xeatr1@aol.com[/email] (todd) wrote in
news:4c604830.0308231900.26c606be@posting.google.c om:
Set the time correctly on the server?> i have a site that displays shows. i am getting my date from a mysql
> function "CURDATE()" but it give me the date one day ahead of the
> actual date. i tried $myrow[8] -1 but that doen't work. im sure iknow
> what to do but its not hitting the brain right now. and the client
> wants a fix asap please help
> thanks
More to the point, if the time on the server is out by (say) 16 hours
(because of timezone differences or reading time in GMT or something)
you could always modify it by using SELECT SUBDATE(CURDATE(),INTERVAL 16
HOUR) -- which then returns a full timestamp, so SUBDATE(NOW(),...) may
be more accurate...
Of course, if all you want is to subtract 1 day,
SUBDATE(CURDATE(),INTERVAL 1 DAY) will do it.
Pete.
Peter Jones Guest
-
todd #3
Re: DATE HELP QUICKLY
Peter Jones <jonespr@optushome.com.au> wrote in message news:<Xns93E195CE99FBDprjpp1516202119@210.49.20.25 4>...
you are an absoulte life saver THANKS!!!> [email]xeatr1@aol.com[/email] (todd) wrote in
> news:4c604830.0308231900.26c606be@posting.google.c om:
>>> > i have a site that displays shows. i am getting my date from a mysql
> > function "CURDATE()" but it give me the date one day ahead of the
> > actual date. i tried $myrow[8] -1 but that doen't work. im sure iknow
> > what to do but its not hitting the brain right now. and the client
> > wants a fix asap please help
> > thanks
> Set the time correctly on the server?
>
> More to the point, if the time on the server is out by (say) 16 hours
> (because of timezone differences or reading time in GMT or something)
> you could always modify it by using SELECT SUBDATE(CURDATE(),INTERVAL 16
> HOUR) -- which then returns a full timestamp, so SUBDATE(NOW(),...) may
> be more accurate...
>
> Of course, if all you want is to subtract 1 day,
> SUBDATE(CURDATE(),INTERVAL 1 DAY) will do it.
>
> Pete.
todd Guest
-
Peter Jones #4
Re: DATE HELP QUICKLY
[email]xeatr1@aol.com[/email] (todd) wrote in
news:4c604830.0308251931.6e58f249@posting.google.c om:
No problem,> you are an absoulte life saver THANKS!!!
Pete.
Peter Jones Guest



Reply With Quote

