Using vbdate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryany
    Member
    • Nov 2000
    • 95

    Using vbdate

    In using vbdate on my own php file. The time does not follow.

    ie
    PHP Code:
    $entrydate vbdate($dateformat$timestamp);
    $entrytime vbdate($timeformat$timestamp); 
    gives
    10-08-2002 09:15 AM in a vbpage

    but gives
    09-08-2002 06:15 PM on my page

    I seem to be missing something, and i think its got to do with $bbuserinfo['timezoneoffset'] but I'm not sure what.

    *ponders*
  • Nicolas2000
    New Member
    • Jun 2002
    • 15

    #2
    $timeoffset ? You should define this variable in your script

    Comment

    • ryany
      Member
      • Nov 2000
      • 95

      #3
      hmm do you mean $bbuserinfo['timezoneoffset'] ? It should already be called in global.php ...

      Comment

      • Nicolas2000
        New Member
        • Jun 2002
        • 15

        #4
        Originally posted by ryany
        hmm do you mean $bbuserinfo['timezoneoffset'] ? It should already be called in global.php ...
        $bbuserinfo['timezoneoffset'] is the personnal time offset for each member (..) Sorry My english is bad... Please correct me
        Now, $timeoffset is the time offsset of your server... for ex : if your are at Paris and your server at New York, it would be good that the hour of your computer is the same as the board (server)
        $timeoffset defined in the data base, in setting table, do a query to find the ligne.
        After, define $timeoffset and $bbuserinfo['timezoneoffset']

        Comment

        • ryany
          Member
          • Nov 2000
          • 95

          #5
          ahhh ok thank you

          Comment

          • Nicolas2000
            New Member
            • Jun 2002
            • 15

            #6
            hi, can you correct my english please ?

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...