Is there a similar function in C# that is akin to the PHP functionality of ("$_SERVER['REQUEST_TIME']")
?
The following property returns the initial timestamp of the current HTTP request:
HttpRequest.RequestContext.HttpContext.Timestamp
In an ASP.Net-Page it can be accessed through the Request
object like this:
Request.RequestContext.HttpContext.Timestamp
Hope I could help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With