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.
ヘクターまたはJavaクライアントを使用して現在のタイムスタンプを取得する方法を教えてください
次の方法を使用して、ヘクターを使用して現在の時刻を取得できます
long time =TimeUUIDUtils.getTimeFromUUID(TimeUUIDUtils.getUniqueTimeUUIDinMillis()); Timestamp stamp = new Timestamp(time); Date date = new Date(stamp.getTime()); System.out.println(date);