src/Date.php
public static function getDateTime($datetime, bool $withSeconds = false): ?string
	{
		return self::formatDate($datetime, self::getFormat(true, true, $withSeconds));
	}
public static function getDateTime($datetime, bool $withSeconds = false): ?string
	{
		return self::formatDate($datetime, self::getFormat(true, true, $withSeconds));
	}
Lokalizovane datum s casem
@param DateTimeInterface|int $datetime datum nebo timestamp
@param bool $withSeconds
@return null|string