×

Discussion Board

Results 1 to 2 of 2

Thread: Convert to Date

  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    3

    Convert to Date

    Hi Guys

    I try to find how to convert a string to a Date (considering the different type of culture/language).

    Anyone can help me?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,740

    Re: Convert to Date

    I do not think there is direct support for that. A close thing is to parse the numbers and construct the date object using Calendar (Calendar.set http://docs.oracle.com/javame/config...#set(int, int)).
    However if you describe your requirements a bit more, there may be better ideas to implement. For example where that string comes from? It is unlikely that the user ever wants to actually type a date string (especially not in a mobile environment).

Similar Threads

  1. Convert Date to timestamp?
    By kaiwinter in forum Symbian
    Replies: 2
    Last Post: 2009-11-01, 10:02
  2. Convert String to Date
    By bapithanc in forum Mobile Java General
    Replies: 6
    Last Post: 2008-08-13, 05:50
  3. How can i convert date to previous date?
    By s_mehdi76 in forum Symbian
    Replies: 4
    Last Post: 2008-06-27, 10:57
  4. How to Convert Date Formate
    By pavan in forum Symbian
    Replies: 5
    Last Post: 2006-11-10, 06:24
  5. ????????Convert Date format
    By mehulgarnara in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-04-15, 07:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×