crypted
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by crypted
-
-
the output for "echo strtotime("-1 hour", strtotime(mosCurrentDate()));" gives 1161695160 instead of a time/date... not sure why?
<td valign="top"><div align="left" class="date"><?php echo strtotime("-1 hour", strtotime(mosCurrentDate())); ?></div></td> -
I'm using <?php echo mosCurrentDate(); ?> to display the time, and I believe it's basically using the FreeBSD servers time to call and echo through php onto the website.
-
I have a website that's obviously hosted on an EST timezone machine. Our website is time-based with quite a number of features, but we are in CST. This is an hour less than, or an hour behind, the server the website resides on. Is there a way to have <?php echo mosCurrentDate(); ?> modified so that it will have an hour less, or the correct current date and time of the CST timezone instead of the EST timezone? Thanks so much for all input.
how to use currentdate function but deduct an hour?
in PHP Coding Help
Posted