Here is an excerpt from my com object:
Define Class MyTools As Session OlePublic
r_date = {}
Function MyFunction
&&Do something
Endfunc
Enddefine
I register the com with windows, then I called it using the following code:
ox = createobject("mycom.mytools"
ox.r_date = DATE()
When I set the r_date property, it stores the date as:
07/06/03 12:00:00 AM
Instead of what I want which is :
07/06/03
Minus the time. Any ideas why the time is added to the property?
Thanks
Define Class MyTools As Session OlePublic
r_date = {}
Function MyFunction
&&Do something
Endfunc
Enddefine
I register the com with windows, then I called it using the following code:
ox = createobject("mycom.mytools"
ox.r_date = DATE()
When I set the r_date property, it stores the date as:
07/06/03 12:00:00 AM
Instead of what I want which is :
07/06/03
Minus the time. Any ideas why the time is added to the property?
Thanks