Find the latest value in timestamp

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.

This forum is a space to discuss coding in VBScript including Windows Script Host, WMI, ADSI, and technical issues related to development.

- Question about a licensed SAPIEN product? Post here: Product Support for Registered Users
- Question about a trial SAPIEN product? Post here: Former and Future Customers - Questions
This topic is 2 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
Idriziel
Posts: 1
Last visit: Tue Jun 07, 2022 1:50 am

Find the latest value in timestamp

Post by Idriziel »

Hallo,

I am new in VbScript, I have an assignment where I have to get the latest value in the timestamp using VbScript..
this is how it looks:

Value | Timestamp
0 | 06.06.2022 00:00:12
2 | 06.06.2022 00:10:00
0 | 06.06.2022 00:11:00
12| 06.06.2022 00:12:12
100 | 06.06.2022 00:12:50
Null/empty | 06.06.2022 00:13:50
Null/empty | 06.06.2022 00:13:51
Null/empty | 06.06.2022 00:13:52
Null/empty | 06.06.2022 00:13:53

I would like to have the latest value that was recorded. The 100.

Your help is much appriciated.
This topic is 2 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked