Author Topic: arsdate  (Read 2765 times)

pankaj.puranik

  • Guest
arsdate
« on: August 21, 2013, 11:56:40 AM »
i have the following query which runs perfectly fine, meaning it gives me some results.
what does arsdate -1 imply?

arsdoc query -v -h ORSAPOH1-PHYS -u admin -p ondemand -f 'System Load' -i "where input_filename like '%%' and load_time between -1 and 1376989200"

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: arsdate
« Reply #1 on: August 22, 2013, 04:28:59 AM »
Hello Pankaj,

since the date in CMOD is a internal numerical representation of a date, AND since the number is between 0 and max(Integer), then a -1 means only that you are sure you get everything from before the day 0 :-D

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

LWagner

  • Guest
Re: arsdate
« Reply #2 on: October 11, 2013, 07:22:47 AM »
Day 0 is January 1, 1970.

on the large value, it is the seconds from 01/01/1970 at midnight.
You can produce any midnight value in Excel using 86,400 * (date - 01/01/70)