Convert Date to String - JAVA [duplicate]
Possible Duplicate:
how to convert current date into string in java?
I need to convert a DAte to String to user the method contains after Can you help please !
take a look at java.text.SimpleDateFormat
example: How to convert current date into string in java?
You give little details about your situation, but it sounds like maybe you should use Calendar, rather than String.contains
Calendar API
精彩评论