Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return current Unix timestamp
<?php time(): int
<?php <pre class="language-markdown"><code>> Это будет блочная цитата.</code></pre>



<h3>Изображения</h3>

<pre class="language-markdown"><code>![текст alt](https://picsum.photos/seed/'.time().'/200/300)</code></pre>



<h3>Неупорядоченный список</h3>

<pre class="language-markdown"><code>- Бекон
<?php     public function urlExists($url, $path)

    {

        $filename = '/statamic-test-'.time();

        $tmp = $path.$filename;

        touch($tmp);
<?php         $timestamp = File::disk('users')->exists($path = $this->path())

            ? File::disk('users')->lastModified($path)

            : time();



        return Carbon::createFromTimestamp($timestamp);

    }
<?php     public function handle()

    {

        $from = __DIR__.'/stubs/auth/statamic_auth_tables.php.stub';

        $file = date('Y_m_d_His', time()).'_statamic_auth_tables';

        $to = database_path("migrations/{$file}.php");



        $contents = File::get($from);
<?php         $content = $exporter->export();



        if ($this->request->has('download')) {

            $path = storage_path('statamic/tmp/forms/'.$form->handle().'-'.time().'.'.$type);

            File::put($path, $content);

            $response = response()->download($path)->deleteFileAfterSend(true);

        } else {
<?php             return $next($request);

        }



        $start = time();

        $lock = Stache::lock('stache-warming');



        while (! $lock->acquire()) {
<?php         $lock = Stache::lock('stache-warming');



        while (! $lock->acquire()) {

            if (time() - $start >= config('statamic.stache.lock.timeout', 30)) {

                return $this->outputRefreshResponse($request);

            }