The function time () in PHP is the number of seconds since the Unix Era (1 January 1970 00:00:00 GMT).
Example: 1465491771
In java how can you get the equivalent value to Unix Time?
The function time () in PHP is the number of seconds since the Unix Era (1 January 1970 00:00:00 GMT).
Example: 1465491771
In java how can you get the equivalent value to Unix Time?
In PHP
$t=time();
On Android (Java)
long unixTime = System.currentTimeMillis() / 1000L; // Esto por que unixtime esta en segundos