Created
April 21, 2014 15:25
-
-
Save tristar500/11145895 to your computer and use it in GitHub Desktop.
new JS Date with PHP formatting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var startDate = new Date('<?php echo date('Y-m-d', strtotime($this->startdate)); ?>'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment