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
Post a Comment