Hi,
u can always keep ur data in String instead of Datetime to perserve the format,
Eg.
This example builds a DateTime value from the system date and time using the Today and Now functions. The String function applies formatting and sets the text of sle_date to that value, for example, 6-11-02 8:06 pm:
DateTime sys_datetime
string datetime1
sys_datetime = DateTime(Today(), Now())
sle_date.text = String(sys_datetime, &
"m-d-yy h:mm am/pm;'none'")
If ur going to use a datawindow to display ur data, u can simply change the display format of the column each time as per ur format,
dw_1.Modify(start_date.edi
Cheers,
Rosh
Main Topics
Browse All Topics





by: polletfaPosted on 2008-09-13 at 06:56:46ID: 22467496
Also, one more info: I don't use any database so I cannot use the date conversion functions provided by an Oracle database for example. I need to do it with PowerBuilder alone.