Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does date_and_time(DATE) return 20 for the century?

century Return
0
Posted

Why does date_and_time(DATE) return 20 for the century?

0

Century is just defined to be a group of 100 years. For 2007, date_and_time(DATE) sets the century and year values in DATE to 20 & 7, respectively. So, for example, 2007 = 20*100 + 7 Here is a fortran program that uses date_and_time().

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123