total days of millennium

total days of millennium

Postby damianodec » Wed Feb 21, 2018 4:07 pm

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)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: total days of millennium

Postby AntoninoP » Thu Feb 22, 2018 3:18 pm

do you know that the Gregorian calendar was introduced on 1582?
And the year 1 starts 7 days after Christ born?
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: total days of millennium

Postby nageswaragunupudi » Thu Feb 22, 2018 8:40 pm

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
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: total days of millennium

Postby damianodec » Fri Feb 23, 2018 7:35 am

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)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests