1.
This should work (notice quotes around var) :
This is incorrect (it only shows the first word) : >
2. not sure about the second question but have you tried removing the
target, it seems to me that a target might not be necessary since the link
should already be opening an application that is
1) strftime("%T on the %D", strtotime($yourdate));
Should produce: 00:12:45 on the 08-22-2001
You can check the manual page for strftime() to see different ways to
format the time to your liking:
http://www.php.net/manual/en/function.strftime.php
2) The way you're trying to do that sound
hey,
>
> 1) Is there any PHP command that'll convert a MySQL database
> timestamp into
> a format that humans can read?!! For example, I want to change
> "20010822001245" into "00:12.45 on the 22-08-2001"?
take a look at:
http://www.php.net/manual/en/function.date.php
> 2) This is the hard que
> 1) Is there any PHP command that'll convert a MySQL database
> timestamp into a format that humans can read?!! For example, I want to
> change "20010822001245" into "00:12.45 on the 22-08-2001"?
\n";
return $unix;
}
?>
You could add a $dateformat input variable, and execute Date()
i
4 matches
Mail list logo