Hi Twan,
Nobody is doing anything wrong. Just change your date format string
from HH:mm to HH:mm z. That will print the timezone as well.
Regards,
Narasimha
On Jun 5, 1:05 pm, twan twa...@gmail.com wrote:
Hi Jeff,
I think your python also does something wrong ;)
From a normal plain old
Hi Jeff,
I think your python also does something wrong ;)
From a normal plain old java application:
public class TestApp {
public static void main(String[] args) {
System.out.println(new SimpleDateFormat(HH:mm).format(new Date
(124411380l)));
}
}
Results
twan wrote:
Hi Jeff,
I think your python also does something wrong ;)
From a normal plain old java application:
public class TestApp {
public static void main(String[] args) {
System.out.println(new SimpleDateFormat(HH:mm).format(new Date
(124411380l)));
u call that spooky... try subtracting two dates and display them using the
getter functions in Date for hours, minutes, seconds...
i did that for my app, n got some really weird results...
got no answers man!
On Thu, Jun 4, 2009 at 5:04 PM, twan twa...@gmail.com wrote:
Good morning,
I'm a
The tomcat result is the right one.
No, the Android time is correct:
sh-3.1$ python
import time
print time.strftime(%H:%M, time.gmtime(1244113800))
11:10
--
Jeff Sharkey
jshar...@android.com
--~--~-~--~~~---~--~~
You received this message because you are
5 matches
Mail list logo