Re: Date format in character fields

2010-09-29 Thread raido . oja
Thanks for the advice. I have resolved the issue by adding an ARDATE  
environment variable.


Cheers
Raido

On Sep 29, 2010 1:58pm, Misi Mladoniczky  wrote:

Hi,





When you change regional settings, you must apply them to everything. It



is not allways apparent which settings the unserlying system user running



the AR Server is using...





You can set envoronment variables for ARDATE etc in the armonitor.cfg



before the Remedy-service is started.





The armonitor.conf file settings work for unix/linux as well as windows.





Sample lines in armonitor.cfg/conf before arserver is started.



Environment-variable: ARDATE=%Y-%m-%d %H:%M:%S



Environment-variable: ARDATEONLY=-MM-dd



Environment-variable: ARTIMEONLY=HH:mm:ss





As you see the ARDATE use the unix-type abreviations, and the other



variables use the windows-style. I think this is still valid, but you may



have to experiment...





Best Regards - Misi, RRR AB, http://www.rrr.se





Products from RRR Scandinavia:



* RRR|License - Not enough Remedy licenses? Save money by optimizing.



* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.



Find these products, and many free tools and utilities, at http://rrr.se.





> Hi,



>


> I have a filter that is setting a date field to a charater field. The  
date


> ends up in a different format on 2 (seemingly) identical severs. Any  
ideas



> where the date format is being picked up when setting dates to character



> field in filters?



>



> Thanks



> Raido



>


>  
___



> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org



> attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"



>



> --



> This message was scanned by ESVA and is believed to be clean.



>



>





___



UNSUBSCRIBE or access ARSlist Archives at www.arslist.org



attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"



___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"


Re: Date format in character fields

2010-09-29 Thread Misi Mladoniczky
Hi,

When you change regional settings, you must apply them to everything. It
is not allways apparent which settings the unserlying system user running
the AR Server is using...

You can set envoronment variables for ARDATE etc in the armonitor.cfg
before the Remedy-service is started.

The armonitor.conf file settings work for unix/linux as well as windows.

Sample lines in armonitor.cfg/conf before arserver is started.
Environment-variable: ARDATE=%Y-%m-%d %H:%M:%S
Environment-variable: ARDATEONLY=-MM-dd
Environment-variable: ARTIMEONLY=HH:mm:ss

As you see the ARDATE use the unix-type abreviations, and the other
variables use the windows-style. I think this is still valid, but you may
have to experiment...

Best Regards - Misi, RRR AB, http://www.rrr.se

Products from RRR Scandinavia:
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> Hi,
>
> I have a filter that is setting a date field to a charater field. The date
> ends up in a different format on 2 (seemingly) identical severs. Any ideas
> where the date format is being picked up when setting dates to character
> field in filters?
>
> Thanks
> Raido
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"
>
> --
> This message was scanned by ESVA and is believed to be clean.
>
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"