current_time( ... )

Retrieves the current time based on specified type.

Parameters:
  • $type string
  • $gmt int | bool