Overview

Namespaces

  • None
  • Rundiz
    • Thaidate

Functions

  • thaidate
  • thaistrftime
  • Overview
  • Namespace
  • Function

Function thaistrftime

Thai date use strftime() function.

Located at Thaidate/thaidate-functions.php
Parameters summary
string $format The format as same as PHP date function format. See http://php.net/manual/en/function.strftime.php
integer $timestamp = '' The optional timestamp is an integer Unix timestamp.
boolean $buddhist_era = true Use Buddhist era? set to true to use that or false not to use.
string $locale = 'th' The locale that will be use in setlocale() function. See http://php.net/setlocale
Return value summary
string Return the formatted date/time string.
API documentation generated by ApiGen