I need to create date zulu time, and +5min to expires time.
1 Like
Hey @akash_patel
I guess you are talking about Universal Time
DateTime.UtcNow.AddMinutes(5)
Hope the above helps.
Thanks
#nK
Yes, But need this format 2022-04-02T22:22:21:56.102Z
1 Like
Hey @akash_patel
You can pass this format in ToString
conversion.
DateTime.UtcNow.ToString("yyyy-mm-ssThh:mm:ss.FFFZ")
Thanks
#nK
Thank you, i got it working
1 Like
Great @akash_patel
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.