Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: WSH today() missing Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jhoski
Newbie
Newbie


Joined: January 12 2009
Online Status: Offline
Posts: 13
Posted: January 13 2009 at 20:04 | IP Logged Quote jhoski

Shouldn't there be a ph.today() function available for WSH? I would like to create timed events from jscript like this:

ph.createtimedevent(0, "MY_EVENT_MACRO", ph.relativedatetime( ph.today(), 15));

I think I can work around it by saving a date string to a variable and then using ph.getvar_dt to make it a datetime.

Anyone have any examples or alternatives they can share?
Back to Top View jhoski's Profile Search for other posts by jhoski
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum