Getting current unix time

Okay I know that you can use millis() to get the time since your program started but how can I get the exact unix time?

With : year()+""+month()+""+day()+""+hour()+""+minute()+"."+millis();

Maybe check out https://stackoverflow.com/questions/732034/getting-unixtime-in-java