My php is showing wrong results of time difference Programming Web Development by Mr.M … there are issues, basically timediff doesn't seem to work proper it also bring like 18 where it means to bring… Re: My php is showing wrong results of time difference Programming Web Development by Dani I am confused when you say the HTML time picker input box can be set to 20:00 for time in and 5:00 for time out, because `<input type="time" ...>` only allows the end-user to specify a time, not a time and date combination. Should it always be assumed that if the time out is earlier than the time in, that it is the next day? … Re: My php is showing wrong results of time difference Programming Web Development by Mr.M Thanks, to clarify what I meant regarding the dates is that I have a date input that shows a calendar when a user click on it to choose the date for which the register is being marked for. Then I also have 2 time inputs one is for timein and the other is for timeout. Let me try your code and see if it does solve the problem I've been having.… Re: My php is showing wrong results of time difference Programming Web Development by Mr.M I'm getting an error saying the `date_create` class can not be found Re: My php is showing wrong results of time difference Programming Web Development by Dani Oh goodness, I’m sorry! I made a typo. Remove the new keyword. I’ve edited my post above. Re: My php is showing wrong results of time difference Programming Web Development by Mr.M Thank you, you saved me, I've been trying for weeks now. It works now perfectly with your code. Re: My php is showing wrong results of time difference Programming Web Development by Dani > Also just one more question regarding your code, I will have to minus 1 hour from the total hour difference, do I have to use the %h - 1? Just in case you haven't figured this out yet, the answer is no :) In my code above, see where I am showing you what $diff looks like on line 15? You should be able to do something like this: $… Re: My php is showing wrong results of time difference Programming Web Development by Dani In other words, if you just need days or hours you can do something like `$diff->d` or `$diff->h` (All properties available [here](https://www.php.net/manual/en/class.dateinterval.php), but if you want to calculate a runner's start time and end time and then do something like "You ran the race in 08:33:56!" then you could use the `… Re: My php is showing wrong results of time difference Programming Web Development by Erussuhsh Hi I'm new to android app development can you teach me how to make a app Re: My php is showing wrong results of time difference Programming Web Development by Dani I don’t personally know Android development or mobile development at all. However, others here might. Please start a new question [by clicking here](https://www.daniweb.com/community/contribute/181). Re: What is the Best Marketing Platform For E-commerce Website? Digital Media Digital Marketing by ashleydent4u …. Don’t forget to keep your product listings optimized with proper schema markup too—it really helps with rankings! Re: Is there anything special I should pay attention to when doing SEO? Digital Media Digital Marketing Search Engine Strategies by dianapps … useful. **Bonus Tip:** Don’t ignore **technical SEO**—things like proper indexing, fixing broken links, structured data, and sitemap.xml can… Re: Riddles Community Center Geeks' Lounge by Reverend Jim … while profitable, the sons always wished it to be a proper ranch with cattle where they would raise meat instead of… Re: Okta apps validation Programming Web Development by maplestar Thanks for the information! It’s really helpful to know how to fix the account activation issue with just a click. Simple solutions like this make troubleshooting much easier. For more helpful tips and insights Proper way to implement awaitable pattern of CTP async lib Programming Software Development by bunnyboy … out ... but I'am just sceptical that this is the proper implementation. So can someone look over the code and tell… is right or wrong, what is wrong and how the proper implementation would look like ... thanks in advance :) [CODE=C#]namespace… Proper way to delay an application while a service is starting? Programming Software Development by Shaitan00 ….exe (which obviously fails). So, I am looking for the proper way to handle this situation (I assume it isn't… Proper way to pass variable with buttons Programming Software Development by murjam … more interested about how to make my code prettier and proper. Issue is that I have defined this class where I… Proper way to delete a linked list Programming Software Development by Elixir42 … the Node so need to delete them both. Whats the proper way...? Do I have to cast them to a Sprite… proper navigation for both humans and search engines Digital Media Digital Marketing Search Engine Strategies by jaredsdirect hi how can we provide proper navigation for both humans and search engines? Re: proper navigation for both humans and search engines Digital Media Digital Marketing Search Engine Strategies by LastMitch >how can we provide proper navigation for both humans and search engines? Can you explain a little more what you mean by that? proper way of understanding a programming language Programming Computer Science by ganges Hi Friends, what is the proper way of understanding a programming language, even though I gained some (good) knowledge like java i feel some times struck while coding. give me valuable tips. thanks for your time. Re: proper way of understanding a programming language Programming Computer Science by Prithwish … familier with how the data 'flows' in the program. A proper understanding of Flow charts, data diagrams, algorithms etc help in… Proper way to reply Community Center Meta DaniWeb by jaymista I am new on this forum. If I want to reply to someone's message, what is the proper thing to do so I can reply to a message posted on the forum? What icon or link do I click on to make a reply to someone's post? Proper tutorial required Programming Game Development by Biohazardes … a learning experience, however i am incapable of finding any proper tutorials on the use of say OpenGL or DirectX. All… Re: proper way to pass a temporary stream to be used later Programming Software Development by vijayan121 > proper way to pass a temporary stream... > I'm disliking … don't know what I can do about it The proper way is to move the temporary stream. Stream classes in… Re: Proper case in Visual basic 6.0 Programming Software Development by aparnesh Here's the Code to display a WORD in Proper Case. You can enhance it easily to use it for … Re: Proper process termination Programming Software Development by Evenbit … termination on a Win32 system and all three are "proper" or valid. The first (most common) method is: any… Re: Proper Thread Handling Programming Software Development by JOSheaIV …% CPU usage. So I have to ask is this a proper took to use or should I look into something else… Select Proper Boot Device Hardware and Software Microsoft Windows by doiknowy0u …. I know the windows is loaded and all fine and proper because i located my way through my keyboard and hear… by but now it runs into a screen saying Select Proper Boot Device or Media something. I noticed this happens only… Guide to proper code tagging using pictures. Programming Software Development by Aia … and will harass you about how you should use the proper code tags. The following is a sequential set of pictures… Post[/B], bottom left, to make sure. Give it a proper indicative title base on your code problem, and submit [B…