help me to convert unix time format into windows time format using java
i have linux time ex. 1075329297.572
help me to convert unix time format into windows time format using java
i have linux time ex. 1075329297.572
The number you have represents the number of seconds since Jan 1 1970.
So: 1075329297.572/(24*60*60)=12445 days
And from foxpro (01/01/1970) + 12445 = jan 28 2004
1244586400=1075248000
Then 1075329297.572 - 1075248000 = 81297.572
81297.572/3600=22 hours
81297.572-(360022)=2097.572
2097.572/60=34 minutes
2097.572 - (34*60) = 47.572 seconds
End result Jan 28 2004 22:34:47.572
Dear Im new in this field ,, so feel difecult to undersatand the FORUMS
still i have keen intrest..................