Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

convert date to c# ticks in java [duplicate]

Possible Duplicate:
C# DateTime.Ticks equivalent in Java

hello guys

can anybody tell me how to convert date to .Net ticks in java. any help will be appreciative.

thanks

like image 441
sajjoo Avatar asked Feb 03 '26 07:02

sajjoo


1 Answers

ticks = 621355968000000000L+javaMillis*10000;

like image 134
bestsss Avatar answered Feb 04 '26 21:02

bestsss