I have done this in Java:
Calendar lCDateTime = Calendar.getInstance();
date = lCDateTime.getTimeInMillis();
I have done this in PHP:
$date = date(U);
In Java, it is working. In PHP it doesn't.
In Java I get: 1358789604926
In PHP I get: 1358790190 (a smaller number)
Can anyone explain the difference between the two results?