For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > February 2006 > Re: [PHP-DB] Displaying Unix Timestamps as human readable dates / times?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Displaying Unix Timestamps as human readable dates / times?
Michael Crute

2006-02-15, 6:56 pm

On 2/15/06, Alex Major <alex.major@allydm.co.uk> wrote:
> Thanks for the link, I've had a read through but I don't think I'm quite
> grasping it.
> From what I think I understand, if I put this..
> date ( "m.d.y" [, 'joindate'] )
>
> Then I would get the date displayed like 03.03.01 (for the 3rd March 2001=

).[color=darkred]
> Or is that incorrect?
> Any tips greatly appriciated.
>
>
> On 15/2/06 14:28, "Michael Crute" <mcrute@gmail.com> wrote:
>
now[color=darkred]
s[color=darkred]
nix[color=darkred]
can[color=darkred]
ate.[color=darkred]


Close, you would do something more like

date('m.d.y', $row_members['joindate']);


--
________________________________
Michael E. Crute
http://mike.crute.org

Linux takes junk and turns it into something useful.
Windows takes something useful and turns it into junk.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com