> There was a little mistake in the code I posted before, try this one:
>
> http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
>
>
> "Diff Fannehh" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi,
>>
>> I have this date in timestamp format:
>>
>> $a= 2004081011415
There was a little mistake in the code I posted before, try this one:
http://aidan.dotgeek.org/lib/?file=function.convert_timestamp.php
"Diff Fannehh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have this date in timestamp format:
>
> $a= 20040810114155;
>
> I want to
That's a mysql timestamp, if you want to manipulate dates in PHP you'll need
to use unix timestamps.
You have a couple of options,
select unix_timestamp(myFld) as myFld from myTbl
Then just add 60*60*24*7 to it.
Or, parse it with:
function convert_timestamp ($timestamp)
{
$timestring = substr
seems like you echo an 1 before print $time is called. Look through your
code, there
must be something printed or echod. Perhaps it's simple some html
(?>1 schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> Anyone know any reason that the date function would return 2
In article <007b01c1a582$f9d67ec0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi there,
>
> Is there any one who could give me an idea regarding the date and time
> triggering PHP script. This date and time script whould gives an output if
> ever it hit "Jan 1" and print's it's year.
>
> A
5 matches
Mail list logo