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:
$gBitSystem->mServerTimestamp->strtotime(...); and $gBitSystem->mServerTimestamp->strftime(...); as straight replacements.
Inside Smarty templates, use the:
{$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
Comments