Is there any equivalent of Javascript new Date().valueOf()
in C#?
I tried using DateTime.Now.Ticks
in c#, but both are different.
I need this because, I'm writing some serverless aws lambda code
where they are supporting both nodeJs
and C#
code.
So, I don't want to get any conflict with datetime in future.
In future, I may query on the datetime values.