Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
関数System.currentTimeMillis()は、1970年1月1日00:00:00UTCからのミリ秒数を返します。
関数Date.getTime()は、1970年1月1日GMTの午前0時からのミリ秒数を返します。
これはAndroidのドキュメントに書かれていることです。
では、違いはどこにありますか?それらを使用して計算できますか、それともオフセットがありますか?
ほとんどの目的と目的では、2つは同等です。
http://en.wikipedia.org/wiki/Coordinated_Universal_Time#Definition_and_relationship_to_other_standards