current_datetime


current_datetime ( No parameters )

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

Description

Retrieves the current time as an object using the site's timezone.

Related Functions

current_time, current_action, get_current_theme, current_theme_info, current_filter

Top Google Results

User discussions

wpseek mobile