Frequently Asked Questions

Questions? Answers.

How are leap years calculated?

DTT Lib follows standard Gregorian calendar rules: a year is a leap year if divisible by 4, unless divisible by 100, unless also divisible by 400.

Can I format custom date strings?

Yes. DTT Lib provides custom format specifiers for year, month, day, hours, minutes, seconds, and microseconds.

Back to the top ↑