znframework/package-datetime

ZN Framework Datetime Package

8.1.0 2023-03-05 18:13 UTC

This package is auto-updated.

Last update: 2024-11-05 21:44:12 UTC


README

ZN Framework Date & Time Package

Follow the steps below for installation and use.

Installation

You only need to run the following code for the installation.

composer require znframework/package-datetime

Documentation

Click for documentation of your library.

Example Usage

Basic level usage is shown below.

<?php require 'vendor/autoload.php';

ZN\ZN::run();

Output::writeLine(Date::standart());
Output::writeLine(Time::current());
Output::writeLine(Date::calculate('{year}-{monthNumber}-{dayNumber}', '30 day'));