FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour total days of millennium
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
total days of millennium
Posted: Wed Feb 21, 2018 04:07 PM

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

thanks

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: total days of millennium
Posted: Thu Feb 22, 2018 03:18 PM

do you know that the Gregorian calendar was introduced on 1582?
And the year 1 starts 7 days after Christ born?

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: total days of millennium
Posted: Thu Feb 22, 2018 08: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
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: total days of millennium
Posted: Fri Feb 23, 2018 07:35 AM

hi Mr Rao
thank you, CTOD("") is what I was looking for
bye

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)

Continue the discussion