Converting dd/mm/yyyy string into a unix timestamp
Posted on 2008-10-28
I have dates stored in my database as strings in the format:
and i want to convert them to a unix timestamp when I pull them out of the database so that I can sort them by date.
(when i use sort on the original string it seems to treat it as a nuber e.g. 20/05/1985 as 20051985)