how i can support more than one pattern @ datetimeformat : [enter image description here][1]


  [1]: https://i.stack.imgur.com/Qv1G2.jpg
how i can support more than one pattern  
like yyyyMMdd and yyyy-MM-dd