0
votes
1answer
76 views

generating wrong unixtimestamp in informix

i am using following code to generate unix time stamp in java. Date d1=new Date(); System.out.println(new Timestamp(d1.getTime())); System.out.println(d1.getTime()); which will give me an ...
0
votes
0answers
47 views

Detecting System Time Edits

I want to know whether system time in Mac OS X is changed by the user or not ? Is there any way to detect it? A Java solution would be preferred, but I will accept any. Actually, I need to reset a ...