Ref: http://gambaswiki.org/wiki/lang/cdate

Date = CDate ( Expression AS Variant ) AS Date
Converts an expression (numerical Float or String) into a Date / Time.
Be careful! The current localization is not used by this function.

Is there a reference for what string formats CDATE recognizes.
The input date I have is in form "ccyymmdd".
Changing it to to "ccyy/mm/dd"did not work.
Reversing it to "dd/mm/ccyy"did not work.

Error is type mismatch: wanted date, got string instead.
Date is "20141215" (aka 15 Dec 2014).

Thank you,

Lewis


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to