java - How to convert / cast long to String? -


I have just created Sample BB App, which can allow the date to be selected.

  DateField CurDateFld = New date field ("Select date:", System content time milliseau (), datefield.det (DateField.FIELD_LEFT);  

date After selecting, I need to convert that long value to string so that I can easily store the date value anywhere in the database. I am new to Java and Blackberry development.

  Long date = curDateFld.getDate ();  

How do I change this long value for the string? In addition, I want to convert from the string so far. I think I can use the long l = long.Personal ("myStr"); ?

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -