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

  • Home
  • SEARCH
  • 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 8913185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:23:42+00:00 2026-06-15T04:23:42+00:00

So, I am working on a PHP scheduler for seminars. Basically I have a

  • 0

So, I am working on a PHP scheduler for seminars. Basically I have a list of seminars that each meet once per week at the same time on the same day, and run a set number of weeks.

Right now in my database I have the pkey, the start date, the end date, the name of the seminar, and a string representing the day and time.

Right now I have a page showing all seminars currently running based on comparing today’s date to the start and end dates of all seminars. Now I want it JUST to show seminars meeting today.

I assume I will need to make the schedule variable a DATE. The varchar string was a dect tape fix because I do not even know where to start with this part.

How do I format the SQL variable to store the day and time in a DATE type variable that is in the format [weekday] [time]? Is this possible?

EDIT

Can somebody who understands what I am asking help me reword my question? It seems like I can not make what I am asking clear.

For example let’s say there are MySQL seminars are Wednesdays at 7pm starting 11/14 and ending 12/26. I have Wednesdays 7pm saved as a VARCHAR string, and StartDate and EndDate saved as dates. Right now I have no problem listing all seminars currently in progress, but I would like to filter those by ONLY those meeting on the day of the week that corresponds to the current weekday. To do this I need to turn ‘Wednesday 7pm’ into a DATE variable while still keeping the exact same format for echoing on the schedule.

  • 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-06-15T04:23:43+00:00Added an answer on June 15, 2026 at 4:23 am

    Since nobody was able to understand my question here, I will answer it myself. After talking with a few professionals and instructors I know (who had no problem understanding what I wanted…), I have found that it technically impossible, but a workaround is to select an arbitrary date that falls on that weekday, and use it as a standin, then always present it in weekday format.

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

Sidebar

Related Questions

I am working with php and want to have a page that has a
I have a working PHP registration form that goes through $_POST[] requests to check
I have a full working php script for user activation that I wrote. Fully
I have a tested and working php script that pulls from a db and
We currently have a working php mail script, this works fine and as we
I'm working in PHP and I want to create a function that, given a
I am working on php script that may involve a long running task. The
at my working place (php only) we have a base class for database abstraction.
I am working on PHP and database MySQL. I have two tables in SQL
I'm working on an online PHP application that has a need for delayed PHP

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.