我正在尝试以DD-MON-YY(22-OCT-15)格式输出数据以插入到Oracle中。我使用了MEL表达式server.dateTime.format("dd-MMM-yy")。它以22-Oct-15的形式输出数据。见下面的片段。
<expression-component doc:name="Expression"><![CDATA[if ( flowVars.collection_opening_date == null){
flowVars.collection_opening_date = server.dateTime.format("dd-MMM-yy");
}]]></expression-component>这个片段没有错误。server.dateTime.format("dd-MMM-yy")输出为22-Oct-15和--我想要的格式是我怎样才能得到我想要的格式?
发布于 2015-10-22 19:41:41
大写就像这样:server.dateTime.format("dd-MMM-yy").toUpperCase().
https://stackoverflow.com/questions/33289001
复制相似问题