-
Date Function In Java
Anyone know how to display the date and some text of a java program?
If you could look at the screenshot i've taken, which you can see by going to http://members.optusnet.com.au/gujju_style/
If you can see where it says "message" in that blue tittle bar, i want it to show the current system date and also i'd like to add some text of my own in there.
Cheers.
-
To output the date or time, look at the Calendar class and Date class -
some references, look at
http://www.javaworld.com/javaworld/...-0330-time.html
and
http://mindprod.com/jgloss/calendar.html
There are many text handling methods for your choosing ...
Similar Threads
-
Replies: 4
Last Post: 04-14-2006, 09:09 AM
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
By Michael Shutt in forum VB Classic
Replies: 6
Last Post: 04-05-2001, 02:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks