Browse: Home / Functions /

learndash_adjust_date_time_display

learndash_adjust_date_time_display( int $timestamp,  string $display_format = '' )

Converts a timestamp to local timezone adjusted display.


Description #


Parameters #

$timestamp

(int) (Optional) The timestamp to display. Default 0.

$display_format

(string) (Optional) The time display format.

Default value: ''


Return #

(string) The adjusted date time display.


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
2.2.0 Introduced.