Welcome Guest, Not a member yet? Register   Sign In
How do I do timestamp conversion?
#1

[eluser]Volkof[/eluser]
Hi guys,

Playing with the format of datetime is one of the most irritating thing in programming, for how I feel.

My database has stored a value :
Code:
2013-01-08 20:08:34

When I retrieve it and display in View, I want it to become:
Code:
8th Jan 2013, 8:08pm

I searched through the web. There are so many ways but none of them seems to fit my criteria and it just confuses me Sad

Hope that someone can enlighten me Smile
Thanks in adv


Messages In This Thread
How do I do timestamp conversion? - by El Forum - 01-17-2013, 10:38 PM
How do I do timestamp conversion? - by El Forum - 01-18-2013, 01:49 AM
How do I do timestamp conversion? - by El Forum - 01-18-2013, 05:07 PM
How do I do timestamp conversion? - by El Forum - 01-19-2013, 08:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB