I18Nv2_Locale::time

I18Nv2_Locale::time() – Get local time

Synopsis

require_once 'I18Nv2/Locale.php';

string I18Nv2_Locale::time ( int $timestamp = null )

Description

Get the local textual representation of a time as returned by strftime('%X').

Parameter

integer $timestamp

timestamp which should be formatted

Return value

Returns string formatted time.

Note

This function can not be called statically.