Skip to content

Instantly share code, notes, and snippets.

@donaldallen
Created April 10, 2013 22:02
Show Gist options
  • Save donaldallen/5358860 to your computer and use it in GitHub Desktop.
Save donaldallen/5358860 to your computer and use it in GitHub Desktop.
<?php
use Datum\Datum;
Datum::createFromFormat('Y-m-d H:s:i', $filename)->toDateTimeString();
// This is in index.php. Folder structure is:
// ..
// /Datum/
// index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment