Page 1 of 1

PostPosted: Tue Sep 24, 2002 3:36 pm
by troyk9
How do I use ldate() and date() functions to place the date in a string.
In pocket C I easily accomplished it with
int y=2;
string x;
alert("Today is:\n "+x);
as a function prototype
I can't however figure out how to use the functions in OrbForms

PostPosted: Tue Sep 24, 2002 4:41 pm
by Leif
Hi Michael,
everything you need to know is in the help file, look at the Date object.
This code is the Orbforms version of yours.

Date mydate;
string x;;//get the current date/time;
alert("Today is:\n"+x);

PostPosted: Tue Sep 24, 2002 10:55 pm
by troyk9
Thanks alot Lief!
That helped me out!
I guess I have to look a little deeper into programming with those dot structure thingies.8)