current_datetime


current_datetime ( No parameters )

Returns:
  • (DateTimeImmutable) Date and time object.
Defined at:

Description

Retrieves the current time as an object with the timezone from settings.

Related Functions

current_time, get_current_theme, current_action, current_theme_info, current_filter

Top Google Results

User discussions

wpseek mobile