Created
April 4, 2014 15:01
-
-
Save zerolab/9976471 to your computer and use it in GitHub Desktop.
date_api date transformations
This file contains 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
<?php | |
$date = new DateObject($date_raw, date_get_timezone_db($field['settings']['tz_handling'])); | |
$date_formatter = date_format($date, DATE_FORMAT_ISO); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment