Discussion Board

Results 1 to 2 of 2

Thread: String to Date

  1. #1
    Registered User Supraja's Avatar
    Join Date
    Jun 2003
    Location
    India
    Posts
    4
    I need to convert a date into string and store it in rms provided by j2me
    and then retrive that string and convert back into date format and then display on the screen

  2. #2
    Registered User doctordwarf's Avatar
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    Supraja
    You can convert Date to long using Date.getTime(), then store it to RMS like just a long and convert back using Date.setTime()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved