Forum Discussion
Sandyapitester
Frequent Contributor
Hi All, I have used the below script ${=new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSSSSS XXX").format(new Date())} Which am getting the date format value with ?? like "2017-05-22 22:03:38.0000270 +05:30??" istead of "2017-05-22 22:03:38.0000270 +05:30" Why am getting this question mark?
nmrao
8 years agoChampion Level 3
You can just use:
${= new Date().format('yyyy-MM-dd HH:mm:ss.SSSSS Z')}
Related Content
- 8 years ago
Recent Discussions
- 5 days ago
- 9 days ago