on 2018 May 16 3:44 PM
Hi All, Could you help me to write correct logic for "get start date and end date from model class "
so that i can able to use dynamic date from hac through impex and from backoffice .
final int startDate = XXXXXXXModel.getStartDate();
final Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_MONTH,startDate);
final int endDate = XXXXXXXModel.getEndDate();
final Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_MONTH,endDate);
Basically i need to use these dynamic date in cron job .
Regards,
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.