The Artima Developer Community
Sponsored Link

Java Answers Forum
newbie question: Actual time in Java

1 reply on 1 page. Most recent reply: Oct 23, 2002 8:43 AM by Michael Wiedmer

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Andy Grimm

Posts: 2
Nickname: grimm
Registered: Oct, 2002

newbie question: Actual time in Java Posted: Oct 23, 2002 6:31 AM
Reply to this message Reply
Advertisement
hi
how can i get the actual system time ?
thx


Michael Wiedmer

Posts: 15
Nickname: micks
Registered: Aug, 2002

Re: newbie question: Actual time in Java Posted: Oct 23, 2002 8:43 AM
Reply to this message Reply
try

import java.util.Date;

// ....


Date now = new Date();

// ;-)

Flat View: This topic has 1 reply on 1 page
Topic: help on program. Previous Topic   Next Topic Topic: avi & Swing?? HELP!!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use