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
  • 248,760
  • 80
  • 417
  • 510
bodesam
  • 529
  • 3
  • 9
  • 24

1 Answers1

1
strtotime(str_replace('/', ' ','25/July/2015'));
Juan Serrats
  • 1,350
  • 5
  • 23
  • 29