Hi, I want create a default value for my paramter of type timestamp. The value can be like this "2014/01/08 00:00:00" and other parameter "2014/01/08 23:59:59". How I do this?
tks!
2 Answers:
Posted on January 8, 2014 at 4:57pm
Convert your timestamp to num millisecs since epoch (01.jan.1970) then set the default value as
new java.util.Timestamp(<nummillisecs>)
To get the millisecs use:
http://www.epochconverter.com/