Different types of Date format in perl

I want to know the different types of date format possible in perl.

Eg: yyyymmdd, yymmdd etc...Is there any format like YMD?

Where can i find the list of all possibilites?

Thanks in advance

The nine element array created by localtime, for example, can be concatenated or printed in any order. The date value requires + 1900 to get the year, and the month is zero-based and requires +1 to get the month number.

Here are examples, and POSIX::strftime examples for perl:
localtime - perldoc.perl.org

And C strftime (same as perl) for a list of "possibilities" for date formats:
strftime

1 Like