Skip to content

Instantly share code, notes, and snippets.

@akroii
Created September 2, 2021 06:47
Show Gist options
  • Save akroii/81dee3fe46efe84d79f4410d029e0749 to your computer and use it in GitHub Desktop.
Save akroii/81dee3fe46efe84d79f4410d029e0749 to your computer and use it in GitHub Desktop.
time format from config
$strFormat = isset($GLOBALS['objPage']) ? $GLOBALS['objPage']->dateFormat : $GLOBALS['TL_CONFIG']['dateFormat'];
@akroii
Copy link
Author

akroii commented Jan 8, 2023

<?php echo \Date::parse($GLOBALS['objPage']->dateFormat, $this->startTime);?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment