i assume i can make my date class *very* simple, by having one public member i.e. a system.datetime, and then be able to access all parts of the datetime ala
(assuming the custom class contains a datetime member called 'x')
VB Code:
dim dDate as myDate ... ' ** is the date valid? if dDate is nothing then ' do whatever we do with a null date else ' do whatever we do with a non-null date msgbox(ddate.x.toString) end if
this basically will do what i need, plus i can always create my own .ToString method in my class to get a default formatted string back, and use x.ToString to get the system default.. hmm..
if this works me happy. will try it later..
thanks to ya all :-)




Reply With Quote