在物件中獲取日期
獲取當前日期和時間
lib.date = TEXT
lib.date {
data = date:U
strftime = %d.%m.%Y %H:%M:%S
wrap = Today is |
}
從 fe_users 獲取上次登入時間和日期
lib.date = TEXT
lib.date {
data = TSFE:fe_user|user|lastlogin
strftime = %d.%m.%Y %H:%M:%S
wrap = Last login is at |
}
lib.date = TEXT
lib.date {
data = GP : tstamp
strftime = %d.%m.%Y %H:%M:%S
wrap = Current tstamp is |
}