VBdotnet2005
asked on
timespan
dim mytime as timespan
dim myfile as fileinfo
dim mydir as new directoryinfo(mypath)
mytime = datetime.now - myfile.creationtime < eror "operator is no defined "-"
dim myfile as fileinfo
dim mydir as new directoryinfo(mypath)
mytime = datetime.now - myfile.creationtime < eror "operator is no defined "-"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dim mytime As TimeSpan
Dim myfile As New FileInfo(mypath)
mytime = datetime.Now.Subtract(myfi
MsgBox(mytime.TotalDays)