Re: Getting A Date
| From: | Justin French | Date: | Wed, 26 Jun 2002 03:31:49 +0000 |
| Subject: | Re: Getting A Date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103903@lists.php.net to get a copy of this message | ||
strtodate() takes almost any english date format and converts it to a
timestamp, which you can do whatever you like with.
date() accepts a unix time stamp as the optional parameter, otherwise it
defaults to "now", so you can use it to format a date from another time
stamp.
justin
on 26/06/02 1:08 PM, Phillip S. Baker (phillip@freewolf.net) wrote:
> Hey All,
>
> I want to be able to check a variable date to find out what day of the week
> it is.
> When I try and use getdate() or date() it only allows me to use the current
> date.
>
> I want to pass a date with a specific day, month and year.
>
> What the heck am I missing?
>
> Phillip
>