Link to home
Create AccountLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

ASP.NET/VB: Random Number inside DateTime.AddMinutes

I want to use a random number between 5760 and 11520 inside this:

Dim NewDate As String = Now.AddMinutes(  Random(5760, 11520)   ).ToString("ddd, dd MMM yyyy HH:mm:ss")

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer