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 736195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:34:37+00:00 2026-05-14T07:34:37+00:00

I am coding in php, attempting to get the start\end dates and times for

  • 0

I am coding in php, attempting to get the start\end dates and times for events. I am utilizing the following RegEx for parsing out the information:

$pattern='/(?P<StartDate>[0-9]{8})T(?P<StartTime>[0-9]{6})
.+(?P<EndDate>[0-9]{8})T(?P<EndTime>[0-9]{6})/';

The sample event entry is here:

BEGIN:VEVENT
UID:34b09fd7-8e6e-4d56-86b0-445745b89d93
ORGANIZER;CN=*********:mailto:*********
DTSTART;TZID="(GMT-06.00) Central Time (US & Canada)":20100413T130000
DTEND;TZID="(GMT-06.00) Central Time (US & Canada)":20100413T160000
STATUS:CONFIRMED
CLASS:PRIVATE
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
TRANSP:OPAQUE
X-MICROSOFT-DISALLOW-COUNTER:TRUE
DTSTAMP:20100414T140711Z
SEQUENCE:0
END:VEVENT

20100413T130000 and 20100413T160000 are the start and end points.

The dates are straight forward, however how do I interpret the time part?

This event starts at one and ends at four.

  • 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-14T07:34:38+00:00Added an answer on May 14, 2026 at 7:34 am

    They are in HHmmss format where HH is the hours in a 24 hour format. 130000 is 13:00:00, ie. 1 pm (13 – 12 = 1 pm), 0 minutes, 0 seconds.

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

Sidebar

Related Questions

Using php coding, I'm attempting to make a script which will grab content from
I've been coding with php/CI for a bit now and am starting to get
I'm new to this and want to start coding PHP with NetBeans. Is there
I'm coding in PHP and threads are a bit out of my league. I'd
Coding for PHP on Mac OSX Lion, using the following within the httpd.conf file:
I am attempting to write a recursive descent parser in PHP for the following
I just start coding in PHP, i wrote my first php + mysql program
I'm coding in PHP/MySQL and have the following query to fetch products and product
I am attempting to throw my own 404 in PHP depending on certain GET
I am coding a PHP foreach loop. I am using the following code to

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.