1

I'm trying to convert a date of the format 25/July/2015 obtained from jQuery UI datepicker widget to UNIX timestamp using strtotime() function, but it's not working, nothing(blank) is returned, how do I do this?

Salman A
  • 262,204
  • 82
  • 430
  • 521
bodesam
  • 529
  • 4
  • 9
  • 24

1 Answers1

1
strtotime(str_replace('/', ' ','25/July/2015'));
Juan Serrats
  • 1,358
  • 5
  • 24
  • 30