Comparing dates

Dates can be compared only if they are stored in the same format. PHP does not have a variable of type „data”, it must be stored as a timestamp or…

READ MORE

Formatting date

PHP provides several features designed to save the date in your preferred format. Basic to date. Its first argument is a text string that serves as a description of the…

READ MORE

Convert date format timestamp

Timestamp other than the current can be achieved in various ways, which must be used according to application. If there is broken ‚data, that is, in separate variables day, month,…

READ MORE

Getting the current date

The current date can be obtained only in the timestamp format. The date of the returns funkcjatime () task planner. Close-up times can be achieved thanks to the microtime ()…

READ MORE

Validation

One of the main issues when receiving data from the user to verify their correctness. The checkdate () takes three arguments – respectively, month, day and year, the correctness of…

READ MORE

Processing date

PHP has many features that allow you to process the record date.ДИСКОНТНЫЕ КАРТОЧКИ The primary method of recording the date on Unix and derivatives is tzw.timestamp. This is the number…

READ MORE

Operations on directories

<?phpБезопасные SEO эксперименты if ($dir = @opendir ( „/ tmp”)) { while ($file = readdir ($dir)) { echo „$file \ n”; } closedir ($dir); } ?> The second way Example…

READ MORE

Processing path

PHP has many features for the analysis and processing of text variables that contain the path to the file. The basename ($ path) returns the name of the file adirnamekahovka-service.ru…

READ MORE