A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
SmartGWT TimeItem -Solved-
Joined: Jan 02, 2012
Sep 09, 2012 23:24:16
I need some help with TimeItem. Let's say that user input 01:00, how do I retrieve the values correctly?
If i do a getValueAsString(), it returns me "Thu Jan 01 1970 01:00:00 GMT+0800 (SGT)"
If i do a getValue(), it returns me "Thu Jan 01 00:30:00 SGT 1970"
Anyone know how to correctly get the 0100 out?
I realised there's a getDisplayValue(). Hope it helps anyone who have trouble getting the value out.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: SmartGWT TimeItem -Solved-
Calendar() / Date() bug ???
Parsing Date/Time String - Urgent
Doubt in Data
Date 01/01/1970 returning non-zero value for time
epoch is wrong
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013