Skip to main content

get_local_timestamp()

public static function get_local_timestamp( $timestamp=null )

Converts the given timestamp to a pseudo timestamp which has been adjusted for the timezone in the WordPress settings.

Source: common.php:3336

Parameters

NameTypeDefaultDescription
$timestampintnull

Returns

  • int