Just sorted my need for a 30-min deadline placed on email verification code check - you may find this helpful!
I created some code to create an email verify system and password reset system for users of the app that I am writing. While this code is for Date and Time in text format and is NOT in timestamp format… here’s what I got so far.
IF you need a date - time deadline calculator - here is the code:
Var date1 As DateTime = DateTime.Now Var days1 As Double = date1.SecondsFrom1970 + 1800 Var date2 As New DateTime(days1, TimeZone.Current) var stringyy as String = date1.ToString + " - " + date2.ToString MessageBox(stringyy)
Hope this helps!