This is (approximately) how I've done the conversion, I'm writing this from
home. It works, but it's very ugly; the problem is that datetime() will
only accept a date that's in the format YYYY/MM/DD.
Can someone suggest a better way?
ls_date = string(date(em_control.Text), "YYYY/MM/DD")
ldt_datetime = datetime(date(ls_date))
But i suggest you use an external datatwindow instead of an edit mask :
ldt_datetime = dw_frm.getItemDateTime (1, "foo")
On 6 Dec 2003 23:22:06 -0800,
in sybase.public.powerbuilder.general