timestamps in php are in seconds and timestamps in java are milliseconds