Hi,
I want to use the serverdate and time in my program,
Please suggest how to write the code,
I created the below fucntion for serverdate
datetime ldt_server_datetime
********************************************************************
DECLARE my_cursor DYNAMIC CURSOR FOR SQLSA ;
PREPARE SQLSA FROM "SELECT GetDate() " ;
OPEN DYNAMIC my_cursor ;
FETCH my_cursor INTO :ldt_server_datetime ;
CLOSE my_cursor ;
return ldt_server_datetime
******************************************************************
How to use it in my application.
P.S : Creating an EXE no Datawindow and windows.