Re: Date format in Java API search criteria

2017-12-14 Thread Misi Mladoniczky
-boun...@arslist.org)] On Behalf Of LJ LongWing Sent: 13 December 2017 22:51 To: ARSList Subject: Re: Date format in Java API search criteria The problem here is that he's not writing a java application, he's using an existing BMC provided tool, he just wants to be able to specify the

Re: Date format in Java API search criteria

2017-12-14 Thread Misi Mladoniczky
er 2017 22:51 To: ARSList Subject: Re: Date format in Java API search criteria The problem here is that he's not writing a java application, he's using an existing BMC provided tool, he just wants to be able to specify the date format for his queries On Wed, Dec 13, 2017

RE: Date format in Java API search criteria

2017-12-13 Thread Hullule, Kiran
;carlbwil...@gmail.com> Sent: Wednesday, December 13, 2017 11:01:44 PM To: 'ARSList' Subject: RE: Date format in Java API search criteria Then the date format is taken from the AR Server format. -- Kind Regards, Carl Wilson From: ARSList [mailto:

RE: Date format in Java API search criteria

2017-12-13 Thread Carl Wilson
] On Behalf Of LJ LongWing Sent: 13 December 2017 22:51 To: ARSList <arslist@arslist.org> Subject: Re: Date format in Java API search criteria The problem here is that he's not writing a java application, he's using an existing BMC provided tool, he just wants to be able to specify the date

RE: Date format in Java API search criteria

2017-12-13 Thread Carl Wilson
rl Wilson From: ARSList [mailto:arslist-boun...@arslist.org <mailto:arslist-boun...@arslist.org> ] On Behalf Of Misi Mladoniczky Sent: 13 December 2017 18:10 To: ARSList <arslist@arslist.org <mailto:arslist@arslist.org> > Subject: Re: Date format in Java API search criteria

Re: Date format in Java API search criteria

2017-12-13 Thread LJ LongWing
> > > > > -- > > > > Kind Regards, > > > > *Carl Wilson* > > > > > > *From:* ARSList [mailto:arslist-boun...@arslist.org] *On Behalf Of *Misi > Mladoniczky > *Sent:* 13 December 2017 18:10

RE: Date format in Java API search criteria

2017-12-13 Thread Carl Wilson
rslist.org] On Behalf Of Misi Mladoniczky Sent: 13 December 2017 18:10 To: ARSList <arslist@arslist.org> Subject: Re: Date format in Java API search criteria Hi, Some further testing seems to indicate that the following different formats always works in any combination: Date port

Re: Date format in Java API search criteria

2017-12-13 Thread Misi Mladoniczky
lto:arslist-boun...@arslist.org (mailto:mailto:arslist-boun...@arslist.org)] On Behalf Of Misi Mladoniczky Sent: Wednesday, December 13, 2017 10:46 AM To: ARSList Subject: Re: Date format in Java API search criteria Hi, Well, on my Ubuntu-machine it apparently defaults to the Swedish format &quo

Re: Date format in Java API search criteria

2017-12-13 Thread Misi Mladoniczky
ilto:arslist-boun...@arslist.org)] On Behalf Of Misi Mladoniczky Sent: Wednesday, December 13, 2017 10:46 AM To: ARSList Subject: Re: Date format in Java API search criteria Hi, Well, on my Ubuntu-machine it apparently defaults to the Swedish format "-MM-DD HH:mm:ss". One of m

Re: Date format in Java API search criteria

2017-12-13 Thread Misi Mladoniczky
to:arslist-boun...@arslist.org)] On Behalf Of Misi Mladoniczky Sent: Wednesday, December 13, 2017 10:46 AM To: ARSList Subject: Re: Date format in Java API search criteria Hi, Well, on my Ubuntu-machine it apparently defaults to the Swedish format "-MM-DD HH:mm:ss". One

RE: Date format in Java API search criteria

2017-12-13 Thread Grooms, Frederick W
What if you do set ARDATE? From: ARSList [mailto:arslist-boun...@arslist.org] On Behalf Of Misi Mladoniczky Sent: Wednesday, December 13, 2017 10:46 AM To: ARSList <arslist@arslist.org> Subject: Re: Date format in Java API search criteria Hi, Well, on my Ubuntu-machine it apparently de

Re: Date format in Java API search criteria

2017-12-13 Thread Misi Mladoniczky
Hi, Well, on my Ubuntu-machine it apparently defaults to the Swedish format "-MM-DD HH:mm:ss". One of my clients using that same program are successfully using the format "M/D/ h:mm:ss a"... I tried changing my LANG environment variable without success. It seems to pick up some other

Re: Date format in Java API search criteria

2017-12-13 Thread LJ LongWing
okthat's a very good question that I've never had to explore.the API defaults to MM-DD- HH:MM:SS type of formatwhich is standard in America (and just about nowhere else)I've never had to deal with date/time formatting in the Java APIso sorry, I don't have a ready answer for

Re: Date format in Java API search criteria

2017-12-13 Thread Misi Mladoniczky
Hi again, In this specific situation I could also rephrase the question. How do you know which format will be used in the parseQualification when executing a Java-API program? Best Regards - Misi, RRR AB, http://www.rrr.se (http://www.rrr.se) (ARSList MVP 2011) Ask the Remedy Licensing

Re: Date format in Java API search criteria

2017-12-13 Thread LJ LongWing
I'm sorry Misi, I'm not sure I understand your inquiry...are you asking how do you tell the Java api that when using the parseQualification method what format a date, included in that string is? On Wed, Dec 13, 2017 at 9:04 AM, Misi Mladoniczky wrote: > Hi, > > How do you control