Date to Unix time Wrong Conversion?!

Was Checking the date to unix time block, provided the following args:
image
and got this output:

image

At the same time used other two applications with same date but got a result far bigger than this one:
image

1651276800 - 1643501040 = 7775760

That’s a huge difference! What’s happening??

Isn’t it supposed to be yyyy-MM-dd? Check the C# documentation for date and time formats. The lowercase m is for minutes so maybe it’s interpreting those as minutes and using January by default as month.

1 Like