constant_datetime

Creator: coderz1093

Last updated:

0 purchases

constant_datetime Image
constant_datetime Images

Languages

Categories

Add to Cart

Description:

constant datetime

constant_datetime #
ConstantDateTime is a class that allows you to use DateTime as a constant.
Getting Started #
If you need to use a constant datetime into your project, you can use ConstantDateTime class.
Of course, it won't be possible to change value of your object after instanciation.
Here is a short example :
const DateTime value = ConstantDateTime('2021-01-01T00:00:00.000');
DateTime dtvalue = value.toDateTime();
copied to clipboard
toDateTime method from ConstantDateTime class returns a casted value of formatted string.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.