PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
I18Nv2_Locale::date() | Up | I18Nv2_Locale::dayName()