HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: /wordpress/plugins/wp-cloud-client/1.1.6/src/Support/Clock.php
<?php

declare(strict_types=1);

namespace VPlugins\WPCloudClient\Support;

class Clock {

	/**
	 * Get the current Unix timestamp.
	 *
	 * @return int The current Unix timestamp.
	 */
	public function now(): int {
		return time();
	}

	/**
	 * Get the current time as an ISO 8601 formatted string.
	 *
	 * @return string The current time in ISO 8601 format.
	 */
	public function iso8601(): string {
		return gmdate( 'c' );
	}
}