Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6987403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:55:56+00:00 2026-05-27T18:55:56+00:00

I am having a form for scheduling a meeting request. and now i need

  • 0

I am having a form for scheduling a meeting request. and now i need to add timezones to it.

I have two dropdowns one for timezone and one for time. so if i select timezone as (GMT-11:00) Midway Island, Samoa and time as 4:00 PM than a mail goes to one person with the meeting request in his outlook.

now his outlook is configured with IST but as the timezone seleceted is new timezone so it should be adjusted appropriatedly.

$ical =    'BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ORGANIZER:MAILTO:'.$from_address.'
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
 CN='.$to.':mailto:'.$to.'
DTSTART:'.$dtstart.'
DTEND:'.$dtend.'
LOCATION:'.$meeting_location.'
TRANSP:OPAQUE
SEQUENCE:0
UID:'.$cal_uid.'
DTSTAMP:'.$todaystamp.'
DESCRIPTION:'.$meeting_description.'
SUMMARY:'.$subject.'
PRIORITY:5
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR';

i have searched on it.. and it says that i have to add VTIMEZONE, TZID, TZOFFSETFROM, TZOFFSETTO
now i am not getting the meaning of TZOFFSETFROM, TZOFFSETTO…? and how to use these to execute the task

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:55:57+00:00Added an answer on May 27, 2026 at 6:55 pm

    Note that whatever TZID you pick (they’re free format), they should have a matching entry in the VTIMEZONE section of the configuration. Contrary to what @anmari said, the VTIMEZONE section is required for the calendar event to be recognized by Outlook etc (showing accept/decline buttons).

    In my experience, the smartest approach is to take (copy/paste from mail source) an existing VTIMEZONE configuration. This is the one for Western Europe, for example:

    BEGIN:VTIMEZONE
    TZID:W. Europe Standard Time
    BEGIN:STANDARD
    DTSTART:16010101T030000
    TZOFFSETFROM:+0200
    TZOFFSETTO:+0100
    RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010101T020000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0200
    RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
    END:DAYLIGHT
    END:VTIMEZONE
    

    Don’t change anything – just copy/paste this into your email code. Now, internally we use a PHP time zone matching this one, for instance “Europe/Amsterdam”. We use this as a base time zone, and convert the VEVENT‘s values to it using PHP’s DateTime class.

    $Date = new DateTime( $event_date ); // this will be in the server's time zone
    
    // convert it to the 'internal' time zone
    $Date->setTimezone( new DateTimeZone( 'Europe/Amsterdam' ) );
    
    // ...
    
    echo "BEGIN:VEVENT\n";
    echo "DTSTART;TZID=W. Europe Standard Time:" . $Date->format( 'Ymd\THis' ) . "\n"
    

    When sending this out, the receiving calendar/email client will automatically convert the incoming time data to the recipient’s time zone. Yay! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am having one form accepting json post in Asp.net which i need to
How will i have a form having more than one submit buttons ..? And
After posting a form having two fields named 'id' and 'url' I have the
I have a complex asp.net form,having even 50 to 60 fields in one form
I am having a form having around 20-25 fields. I have put all these
I have the form having the follwing fields, <form onsubmit=return checkcreateform() action=/gallery/create method=post enctype=multipart/form-data>
I am having a form in which I have multiple line textbox and status
I am having a form in which i have applied the javascript validations, but
i have two winforms loaded simultaneously first form with web browser and second form
I have an events table and events images table. I am having a form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.