0

how to make date funtion in zk?

asked 2013-07-30 10:30:00 +0800

susu gravatar image susu
11 2

updated 2013-07-31 10:42:40 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

i use this command for the user to choose date, but in the result, the todays date will display even the user had chose their date.

USR_ID_EXP_DATE = "";
            if(appuser.USR_ID_EXP_DATE != null &&  appuser.USR_ID_EXP_DATE.toString().trim().length() > 0)
                        USR_ID_EXP_DATE = appuser.USR_ID_EXP_DATE;
            else 
            {
                java.util.Date dt = new java.util.Date();
                USR_ID_EXP_DATE = dt.getTime();
            }
delete flag offensive retag edit

Comments

What is your zul code and please post code only which is required or it will be good if you give demo application code

sjoshi ( 2013-07-31 10:43:26 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-07-30 10:30:00 +0800

Seen: 16 times

Last updated: Jul 31 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More