Oihana PHP System

date.php

Table of Contents

Functions

date()  : string
Generates the 'date[:format]' rule expression.

Functions

date()

Generates the 'date[:format]' rule expression.

date([string|null $format = null ]) : string

The field under this rule must be valid date following a given format. Parameter format is optional, default format is Y-m-d.

Parameters
$format : string|null = null

The date format pattern (Default Y-m-d)

Return values
string

        
On this page

Search results