Jump to content
Wikibooks The Free Textbook Project

Talk:Java Programming/Client Server

Page contents not supported in other languages.
Add topic
From Wikibooks, open books for an open world

import java.util.Calendar; import java.text.SimpleDateFormat;

public class GetDateNow{
 public static void main(String args[]){
 Calendar currentDate=Calendar.getInstance();
 SimpleDateFormat formatter=
 new SimpleDateFormat("yyyy/MMMM/ddHH:mm:ss");
 String dateNow=formatter.format(currentDate.getTime());
 System.out.println("Now the date is:=>"+dateNow);
 }
 }

Start a discussion about Java Programming/Client Server

Talk pages are where people discuss how to make content on Wikibooks the best that it can be. You can use this page to start a discussion with others about how to improve Java Programming/Client Server.

Start a discussion

AltStyle によって変換されたページ (->オリジナル) /