Author |
|
mustangcoupe Super User
Joined: August 08 2003 Location: United States
Online Status: Offline Posts: 308
|
Posted: June 11 2006 at 20:14 | IP Logged
|
|
|
OK, Im not sure what is going on here...
I have the following lines of code in a macro that was working fine unitl 6 is tonight...
Code:
string( today(), "yyyy-mm-dd") + " " + string ( relativetime ( now(), 28800)) |
|
|
if I debug it. It returns nothing.... (BLANK) and then i use this to send me emails at a specified time so it is sending emails every second!!! arrrrrg...
__________________ Todd Hannemann
HA newbie
PowerHome - UPB - ELK
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: June 11 2006 at 21:01 | IP Logged
|
|
|
Looks like you are going over 24 hours.
ph_relativedatetime() seems to fix it...
string( ph_relativedatetime( today(), 8*60), "yyyy-mm-dd hh:mm:ss")
|
Back to Top |
|
|
mustangcoupe Super User
Joined: August 08 2003 Location: United States
Online Status: Offline Posts: 308
|
Posted: June 11 2006 at 21:16 | IP Logged
|
|
|
thanks Tony that was it.... went into tomorrow.
__________________ Todd Hannemann
HA newbie
PowerHome - UPB - ELK
|
Back to Top |
|
|