SyntaxFix
Write A Post
Hire A Developer
Questions
The method for converting a string to a long is Long.parseLong. Modifying your example:
String s = "1333073704000"; long l = Long.parseLong(s); // Now l = 1333073704000