smarty模板输出:
输出数据库保存的时间戳:<{$time|date_format:'%Y-%m-%d %H:%M:%S'}>
昨 天:<{$yesterday|date_format:'%Y-%m-%d %H:%M:%S'}>
今天:<{$today|date_format:'%Y-%m-%d %H:%M:%S'}>
明天:<{$tomorrow|date_format:'%Y-%m-%d %H:%M:%S'}>
昨天:<{$yesterday1|date_format:'%Y-%m-%d %H:%M:%S'}>
今天:<{$today1|date_format:'%Y-%m-%d %H:%M:%S'}>
明天:<{$tomorrow1|date_format:'%Y-%m-%d %H:%M:%S'}>