Property: VariantDate for UsiTimeDisp
- Updated2024-09-12
- 2 minute(s) read
DIAdem NAVIGATOR > Properties > Property: VariantDate for UsiTimeDisp
Property: VariantDate for UsiTimeDisp
Specifies a date/time in the VBS date format. This entry does not include microseconds and nanoseconds.
If you use the VariantDate property in a function that works with seconds instead of milliseconds, the time information is rounded and can lead to deviations in the calculation result. Date/Time display with MsgBoxDisp is one of the standard functions.
Set oDispatch = Object.VariantDate
| Object | UsiTimeDisp Object with this property |
| oDispatch | Returned object |
![]() | Note The VariantDate property contains a maximum of 4 decimal places. |
| VBScript | Python |
Dim oMyResultsList, Element, oMyTime Set oMyResultsList = Navigator.Display.CurrDataFinder.ResultsList For Each Element in oMyResultsList.Elements If Element.IsKindOf( eSearchFile ) Then Set oMyTime = Element.Properties("CreateTime") Call MsgBoxDisp("File Creation Time: " & oMyTime.Value.VariantDate) End If Next
See Also
Procedures
Configuring the Search Results | Defining Search Areas | Executing a Search with OR Operations | Executing a Text Search | Indexing Search Areas | Optimizing Custom Properties | Saving and Loading a Search Query | Searching for Data on a Different Computer in the Network | Searching for Multiple Properties | Sorting Search Results before Executing a Search
Examples
Brake Tests for Trucks | Checking DataPlugins for Timeout | Combining DataFinder Search Results | Context Menu for the Search Results of the DataFinder | Creating ATFX Files from the Context Menu of an ASAM Data Store | Customized User Interface | Evaluation Wizard for the Search Results of the DataFinder | Filtering Data with a Dialog Box | Filtering Data without a Dialog Box | Search and Evaluation Functions in User Dialog Boxes | Searching for and Evaluating Channels | Searching for Channels in the NAVIGATOR | Searching for Data Sets Marked "Failed" in Data Stores | Searching for Data Sets Marked "Failed" | Searching for Properties and Evaluating the Associated Channels | Varying Browse Settings of a Data Store
