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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:30:25+00:00 2026-06-16T18:30:25+00:00

I need some assistance. The code uses a date() function to acquire the report

  • 0

I need some assistance.

The code uses a date() function to acquire the report date, while the availability times are manually entered by users. The availability times are then compared to a static time in order to show whether the process was complete on time.

This process works perfectly if all processes run on the same day; however inaccurate reporting occurs when the process completes before midnight of the previous day. This is where I need some assistance.

I need to take the time string, which is set as H:i format, and merge it with the date string, which is set as yyyy/mm/dd. Once this is performed, I can compare it to the report date stamp to get proper reporting.

  • 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-16T18:30:27+00:00Added an answer on June 16, 2026 at 6:30 pm

    concatenation operator in PHP is a dot, "."
    and you can always concatenate whatever date with whatever time

    $date = "2012/01/04";
    $time = "22:12";
    $datetime = $date." ".$time;
    

    then you can compare the latter variable with whatever datetime of the same format

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

Sidebar

Related Questions

I need some assistance with some javascript/jquery I have put in place. The function
I am new to jQuery and I need some assistance with very simple code.
I need some assistance with this code: http://jsfiddle.net/N5xTJ/1/ The last column already is dynamic
Here is my working image upload and rename code, I however need some assistance
I am working on some simple form validation and need some assistance. Basically, I
I need some jQuery assistance. I'm using https://github.com/jbutz/bootstrap-lightbox for my lightbox, basically what I
I'm in need of some assistance with Ruby on Rails and Sqlite3. This is
I know the title is ridiculously long, but I'm in need of some assistance
Need some regular expressions help. So far I have my code working to allow
I have looked all over the net and need some assistance. Is there a

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.