Skip to main content

 

APC Battery Age

8 months ago
OfflineTim Porreca
Tim Porreca
Description:  Battery age for APC Batteries
Language: VB Script/JScript
Code:
 A = CDate(Context.GetReferenceVariable("BatteryReplaced") )
C= DateDiff("d",A,now)
Context.SetValue C
 

Attachments

-----
You liked this too1 person likes this discussion.
 
Concluded

0 Conclusions:

0 Replies

Would you like to comment?

You must be a member. Sign In if you are already a member.

  • 769 views
  • $obj.VersionIndex versions
  • 0 replies
  • 0 followers
     
Post Date:
September 4, 2011
Posted By:
Tim Porreca

About this forum

  • 18,824 views
  • 14 topics
  • 3 followers
     

Viewed 769 times