Solved
Forum Discussion
Sandyapitester
9 years agoFrequent 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
9 years agoCommunity Hero
You can just use:
${= new Date().format('yyyy-MM-dd HH:mm:ss.SSSSS Z')}