Home

   Home

   Download


Help

   FAQ

   Installation

   Message Board

   Importing Data File
   Into GoldMine
   Into Act


Other

   Testimonies

   Custom Programming

   PHP Version


Other Favorites

   Hire a clean comedian

   Bible Search Engine

   Bible in a Year

   Parallel Bible

   The Richer Life










 





[ Message Board Home ]    [ Post Reply ]    [ Log In ]    [ Sign Up ]



  Subject: Time Zone
  Posted: 05/27/2004 at 10:25:13 pm
  By: svedo

Hi,

Is there any way we can modify the time in the email that is sent? The time on the server is 10hrs behind and we would like the email to display the time in our time zone, not the server's...

I saw the reply to someone that was 1 hour behind, but that solution didn't seem to work for us...

Any help would be appreciated.

Regards,
Sven



  Subject: Re: Time Zone
  Posted: 05/28/2004 at 7:22:34 am
  By: Seth Knorr

This is probably a feature I should add to the next version, but the quick fix is to find the line in bizmail.cgi:
${'hour'}=$newhour;
and change this to:
${'hour'}=$newhour+10;



Seth



  Subject: Re: Time Zone
  Posted: 06/17/2004 at 3:38:29 am
  By: svedo

Hi,

Thanks for that, but still does not seem to work... Any other thoughts / ideas?

Cheers,
Sven



  Subject: Re: Time Zone
  Posted: 06/17/2004 at 6:17:32 am
  By: Seth Knorr

The only way the below line:
${'hour'}=$newhour+10;

Would not work is if you use double quotes " or if your server is not setup properly.

Seth



  Subject: Re: Time Zone
  Posted: 06/18/2004 at 6:38:51 pm
  By: svedo

Hi,

I've replaced the line in question with the one you gave so that shouldn't be the issue... This fix should work on version 2.0 yes?

-Sven



  Subject: Re: Time Zone
  Posted: 06/19/2004 at 12:49:51 pm
  By: Seth Knorr

It should work period, are you getting any value for the hour?

It may be a problem, that your server is not configured to post the time through Perl, so it looks like it is working but is not.

The code a gave you is GENERAL Perl code that will work no matter what server you are on. Basicaly all it says is add 10 to the current hour. However, if your server is not configured to show the hour then it will show just 10 all the time because the hour variable would be equal to 0.

Seth



  Subject: Re: Time Zone
  Posted: 07/05/2004 at 3:08:44 am
  By: svedo

Yes everything is correctly shown in the email except for the time is shown in the servers time zone - not ours.



  Subject: Re: Time Zone
  Posted: 07/09/2004 at 7:11:43 am
  By: Seth Knorr

Then if using the code:

${'hour'}=$newhour+10;

INSTEAD OF:
${'hour'}=$newhour;

SHOULD WORK FINE. Just remember not to surround $newhour with double quotes.

Seth



Reply To This Topic

Subject
Message  
Username
Password
Due to unrelated post's, you must have an
account to post a message. To Sign Up click here.




Copyright 2000-2010 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved