[Gambas-devel] Date Value
Charlie Reinl
na2492 at ...16...
Fri Mar 25 21:23:08 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
>
Salut Nigel,
while you talking Dates.
I remaked that, if you insert into a SQlite table values like
'1872-7-4','1933-1-5', SQLite hase problem with (mySQl and postgres
haven't)
to make it run for all 3 you have to write '1872-07-04','1933-01-05'
So I think it's perhaps a SQLite-driver problem.
You can see that in the attached project.The insert into you find in
FSampl.
Amicalment
Charlie
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBTableView-0.0.5.tar.bz2
Type: application/x-tbz
Size: 114095 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050325/206f94c8/attachment.bin>
More information about the Devel
mailing list