natansouzag Posted January 8, 2014 Share Posted January 8, 2014 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! Link to comment Share on other sites More sharing options...
barry-cw Posted January 9, 2014 Share Posted January 9, 2014 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/ Link to comment Share on other sites More sharing options...
rsneha027 Posted November 30, 2020 Share Posted November 30, 2020 Also try this site Unix Epoch Time Converter Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now