Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Date to String ?

Date to String ?

From: mhk <cccssss_at_dddsssl.com>
Date: Sun, 07 Dec 2003 22:53:36 -0600
Message-ID: <3FD403D0.8080100@dddsssl.com>


Hi ,

I want to convert date in to String , i am using following code but getting error.



import java.util.*;
public class date_finder
{

public date_finder() {}

public String get_date ()
{

	Date dat = new Date();
	String today = String.valueof(dat);
	return (today);

}

}


Please guide me in correcting this code.

Thanks alot for the help.

Sincerely

Jeff Received on Sun Dec 07 2003 - 22:53:36 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US