total days of millennium

Post Reply
User avatar
damianodec
Posts: 422
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

total days of millennium

Post by damianodec »

hi to all
is there any function that return total days from years 0 ?

thanks
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
AntoninoP
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy
Contact:

Re: total days of millennium

Post by AntoninoP »

do you know that the Gregorian calendar was introduced on 1582?
And the year 1 starts 7 days after Christ born?
User avatar
nageswaragunupudi
Posts: 10733
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: total days of millennium

Post by nageswaragunupudi »

damianodec wrote:hi to all
is there any function that return total days from years 0 ?

thanks

What date do you mean by "Year 0"?

Date() - CTOD( "" ) --> JulianDay meaning number of days from January 1, 4713 BC
Regards

G. N. Rao.
Hyderabad, India
User avatar
damianodec
Posts: 422
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

Re: total days of millennium

Post by damianodec »

hi Mr Rao
thank you, CTOD("") is what I was looking for
bye
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Post Reply