Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Converting date to timestamp in PHP

Damian99Damian99 USAMember Posts: 116

I need to convert a date to a timestamp. How can I do this?



  • DavidMDavidM USAMember Posts: 342

    If your date is "12-06-2013",

    Use strtotime() function as follows.

    $timestamp = strtotime('12-06-2013');

Sign In or Register to comment.