Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Re: BPM Java WebDynpro xsd:date decrease one day

$
0
0

Hello,

 

You can use this method

 

private String fechaStrWTC(Date fecha){

   String fechaSTR="";

   GregorianCalendar gc = new GregorianCalendar();

   gc.setTime(fecha);

   TimeZone tz = TimeZone.getTimeZone("GMT");

   gc.setTimeZone(tz);

  

   fechaSTR =   gc.get(Calendar.DATE) + "/"+ (gc.get(Calendar.MONTH )+1) + "/"+ gc.get(Calendar.YEAR) ;

  

   return fechaSTR;

  }

 

With this you cannot re mapping to String


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>