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 topic is 1 year and 9 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 1 year and 9 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