Message 1 of 3

Not applicable
01-25-2016
08:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to make a routine that will check all files in an assembly that have been changed since a user-selected date. I can't get the date to format into a regular number or a string, it seems to stay stuck as a "TimeStamp" format.
Does anyone know how I can use a TimeStamp as a Double, or even a string?
Thank you
Example (simplified) code:
SyntaxEditor Code Snippet
Dim DateModif = iProperties.Value("Project", "Creation date") Dim Maintenant As DateTime Dim TimeText As String Dim oTime as TimeSpan Maintenant = Now oTime = Now().Subtract(DateModif) MessageBox.Show(DateModif, "iLogic")
The "Now().Subtract(DateModif)" seems to work, as it does not crash or cause any trouble, but I can't use oTime as any knid of variable.
Please help, Thanx.
Solved! Go to Solution.