SimpleDataFormat need you to define some pattern to match your input and output the 
time into text.
such like:

SimpleDataFormat format = new SimpleDataFormat("your pattern string")
Date date = format.parse(datatext);
or
String date = format.format(date);

and you can find the detail of the pattern in javadoc

>Hello Java Guru's
>
>I need to get the the System Time and Date into a textbox and need to
>display the difference of login and log out time
>
>Can someone help me in implementing the Date
>/DateFormat/SimpleDateFormat  class I am contiously getting a error of
>unresolved symbol
>
>A help inTime could Save me Nine
>---------------------------------------------
>http://mail.indiainfo.com
>India's first ISO certified portal
>Check world time at http://time.indiainfo.com
>
>To change your membership options, refer to:
>http://www.sys-con.com/java/list.cfm

= = = = = = = = = = = = = = = = = = = =
                        

������������������
��

                                
����������������kert
����������������[EMAIL PROTECTED]
��������������������2002-07-22




To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to