开发者

Convert Date to String - JAVA [duplicate]

This question already has answers here: Closed 11 years ago开发者_运维百科.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜