EC-CUBE
Public メソッド
クラス MDB2_Date

Public メソッド

 mdbNow ()
 mdbToday ()
 mdbTime ()
 date2Mdbstamp ($hour=null, $minute=null, $second=null, $month=null, $day=null, $year=null)
 unix2Mdbstamp ($unix_timestamp)
 mdbstamp2Unix ($mdb_timestamp)
 mdbstamp2Date ($mdb_timestamp)

関数

date2Mdbstamp ( hour = null,
minute = null,
second = null,
month = null,
day = null,
year = null 
)

convert a date into a MDB2 timestamp

引数:
inthour of the date
intminute of the date
intsecond of the date
intmonth of the date
intday of the date
intyear of the date
戻り値:
string a valid MDB2 timestamp public
mdbNow ( )

return the current datetime

戻り値:
string current datetime in the MDB2 format public
mdbstamp2Date ( mdb_timestamp)

convert a MDB2 timestamp into an array containing all values necessary to pass to php's date() function

引数:
inta valid MDB2 timestamp
戻り値:
array with the time split public
mdbstamp2Unix ( mdb_timestamp)

convert a MDB2 timestamp into a unix timestamp

引数:
inta valid MDB2 timestamp
戻り値:
string unix timestamp with the time stored in the MDB2 format

public

mdbTime ( )

return the current time

戻り値:
string current time in the MDB2 format public
mdbToday ( )

return the current date

戻り値:
string current date in the MDB2 format public
unix2Mdbstamp ( unix_timestamp)

convert a unix timestamp into a MDB2 timestamp

引数:
inta valid unix timestamp
戻り値:
string a valid MDB2 timestamp public

このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数