Date to Timestamp

Hi All

I want to convert a date to a time stamp. e.g 14 04 2010 to 1271380228.

Is this possible? If so how?

Many Thanks

mrmbarnes

See mktime()

Ok, thanks… I have had a look and a little more help would be great. Maybe an example please.

;p

A link would help for mktime()

But I suspect that strtotime() might be more useful.

Both documentation pages also provide plenty of examples of how they’re used.

Perfect; thanks