learndash_get_timestamp_from_date_string( string $date_string = '', boolean $adjust_to_gmt = true )

Converts a date string to timestamp.


Description Description


Parameters Parameters

$date_string

(Optional) The date string.

Default value: ''

$adjust_to_gmt

(Optional) Whether to adjust the date to gmt time zone.

Default value: true


Top ↑

Return Return

(int) The converted timestamp.


Top ↑

Source Source

File: includes/ld-misc-functions.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.