Unsolved

This post is more than 5 years old

1 Message

2552

April 7th, 2016 15:00

Problem with date format and mminfo

Hi gus,

First of all, nice to meet you all. This is my first message so if this is in the wrong section, just let me know.

I have a really strange problem. I have a networker server on windows and another in solaris. If I do a mminfo to obtain anything that has date on it, it should be:

MM/DD/YYYY HH:MM:SS AM/PM

So:

If I pull information about the solaris server from the solaris server itself, everything's ok

If I pull information about the windows server from the solaris server, everything's ok.

Now starts the weird thing:

If I pull information about the solaris or windows server from the windows server, 2 scenerios can happen

If the date is between the first and 12th day of the month, the format will be MM-DD-YYYY HH:MM (24 hours)

If the date is between 13th and the last day of the month, the format will be the same as always MM/DD/YYYY HH:MM:SS AM/PM


So, brief example:

asdasdgasdf.PNG.png

So, something (I guess) happens the first of the month and its reverted the 13th at 00:00am, but I cant find what. There's nothing in scheduled tasks. In the days with strange date, I check both "date" CMD command and control panel and it shows the normal format.

What could be that is making that?

Any help would be appreciated, if you need any more infor just let me know.

Thanks!

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

April 8th, 2016 02:00

Hint: DST change happened then (so I suspect this change also affected how things are being displayed for some reason).

April 8th, 2016 03:00

Hi,

mminfo will display the output for any date/time filed as per the local server date/time format (locale) from where you normally query.

So please make sure the date/time format is same in both the server then only you can expect the same output -

Below you can get some on locale setting for Solaris and windows.

Now coming to the solution -

i) You can use same format for the date/time in both the server.

ii) You can always query the mminfo from the same server. Use mminfo -s   if you want to pull some other backup server data.

0 events found

No Events found!

Top