Announcement

Collapse
No announcement yet.

Order Date

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Order Date

    I thought I read a solution to this somewhere, sometime ago but I am unable to find it.

    My invoice date is incorrect. The website is hosted in the US and I assume it's using US timezone. Can this be adjusted in Actinic somehow?

    #2
    Hmmm... It looks like this line in ACTINIC.pm, sub GetActinicDate gets the time:
    Code:
    	($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = gmtime(time);	# platform independent time
    where (time) returns the time in seconds since 1970.

    We could probably add an hour by amending it to be
    Code:
    	($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = gmtime(time + 3600);	# platform independent time
    Multiply that 3600 by the number of hours required.

    There are a couple of other places in ACTINIC.pm and OrderScript.pl that directly use gmtime instead of calling GetActinicDate and it may be necessary to make the same adjustment there.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman, I shall give it a try. I need to work out my server time first. I guess there will be a tool somewhere on the web or in my admin panel.

      Comment


        #4
        There is a Knowledgebase article that is related to your problem:
        How do I change the time that shows on the customer receipt email, and also change the time the orders are shown as being created?

        This is also in the AUG
        Last edited by KB2; 22-Mar-2010, 10:08 AM. Reason: Updating kb links
        Darren Guppy
        Golf Tee Warehouse
        Golf Tees and Golf Accessories.

        Comment

        Working...
        X