[Gambas-devel] Date Value

nigel at ...2... nigel at ...2...
Fri Mar 25 15:10:30 CET 2005


Benoit,

I'm looking at adding more date related functions to gambas, for example a julian function to return julian dates from gregorian.  Looking at the code in gbx_date.c I am uncertain as to whether value->_date.date (ndays) is the julian value. (It is a slightly different value from the values calculated using the formula that I am use to). e.g. The gambas date value for 01/01/2005 is 2485476 whilst the Julian is 2453372.

Is the value intended to be Julian or is the value only specific to gambas?

Kind regards

Nigel

-- 

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm





More information about the Devel mailing list