Can I use strtotime() and strftime()?
We have implement locale timezone formatting using BitDate() class.
For easy access, always use:
Inside Smarty templates, use the:
Other formats are:
For easy access, always use:
<?php
$gBitSystem->mServerTimestamp->strtotime(...);
and
$gBitSystem->mServerTimestamp->strftime(...);
as straight replacements.
?>
Inside Smarty templates, use the:
<?php
{$timestamp|bit_short_datetime}
?>
Other formats are:
- bit_date_format
- bit_long_datetime
- bit_short_date
- bit_short_time
- bit_long_date
- bit_long_time
- bit_short_datetime