Re: My php is showing wrong results of time difference Programming Web Development by Dani …only allows the end-user to specify a time, not a time and date combination. Should it always be assumed…do something such as this: // Get start and end date/time combos from HTTP form $start = $_POST['start']; $end…diff); // Specify a string that says how to format the time interval $format = '%d days, %h hours, %i … My php is showing wrong results of time difference Programming Web Development by Mr.M …. I also have two time picker textboxs which one is for time in and the other is for time out. Now I've… been trying to use even time diff to get time difference between the two times provided but there are… tackle this as I've said I've tried using time difference but it's not working as it should. Re: My php is showing wrong results of time difference Programming Web Development by Mr.M … register is being marked for. Then I also have 2 time inputs one is for timein and the other is for… Re: My php is showing wrong results of time difference Programming Web Development by Dani … if you want to calculate a runner's start time and end time and then do something like "You ran the… Re: Time for some humour before Jan 20 Community Center Geeks' Lounge by Pebble94464 I was going to sail around the globe in the world's smallest ship, but then I bottled it. Re: Time for some humour before Jan 20 Community Center Geeks' Lounge by trcooke A QA tester walks into a bar, orders -4 beers, "2" whiskeys, and Integer.MAX_VALUE + 1 packets of crisps. 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 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). I looking for long term cooperation possible client. Programming Software Development by Stiven_1 I am a full-stack full-time developer. I have 5 years of development experience and My basic skills are Blockchain, TypeScript, ReactJS, Shopify. I am a full-time dev, so I can answer your inquiries at any time. I can work on weekends if needed and communicate fluently in English. Which SEO tool is best? Digital Media Digital Marketing by MasoodDidThat …. I'm considering trying the paid version of Ahrefs this time. For those who have used both, which tool do you… When Speed Replaces Satisfaction in Coding Community Center Say Hello! by John_165 Before ChatGPT or DeepSeek existed, successfully completing a coding task was a very fulfilling experience, even if it took a long time. Now that things can be done quickly, the sense of accomplishment feels diminished. Re: When Speed Replaces Satisfaction in Coding Community Center Say Hello! by Reverend Jim … an external process in Python and capture stdout in real time. The subprocess docs detail the methods and properties, but not… Re: Which SEO tool is best? Digital Media Digital Marketing by Dani I tried the paid version of Ahrefs for a time, and, at least for my use case, it wasn't worth the money and I downgraded back to the free version. I've never used Semrush. Re: Is linux your daily driver? Hardware and Software Linux and Unix by Ulfson … voluntarily :-) And yes, on servers it's Linux all the time. Re: Is linux your daily driver? Hardware and Software Linux and Unix by trcooke … Manager, but we didn't have the budget at the time. The company has matured a bit since then, i.e… Re: Which is the best email marketing tool you ever used? Digital Media Digital Marketing by travisscott512 One of the best email marketing tools I’ve used is Mailchimp. It’s user-friendly, offers solid automation features, and provides detailed analytics that help refine campaigns over time. Great for both beginners and experienced marketers looking to build strong engagement. Re: How Can Small Businesses Effectively Compete in Digital Marketing? Digital Media Digital Marketing by christianjhon2 … **blog** or create helpful posts around your niche. SEO takes time, but it’s cost-effective and long-term. * Focus on… Re: I looking for long term cooperation possible client. Programming Software Development by Dani You might want to check out Upwork or Toptal to get freelance development work. May I ask what the code you provided here does? It seems to just be a constructor function with some getters and setters, but is missing the rest of it. Was it written by ChatGPT? Re: I looking for long term cooperation possible client. Programming Software Development by Stiven_1 Sorry, I used a code I had practiced before to sign up quickly. This code is This JavaScript code simulates a basic blockchain — like a mini version of Bitcoin — without a network or mining. It helps you understand how blocks are linked and verified. Re: I looking for long term cooperation possible client. Programming Software Development by Dani What does the crypto class look like? Re: I looking for long term cooperation possible client. Programming Software Development by Stiven_1 I hope learn more about you. Re: I looking for long term cooperation possible client. Programming Software Development by Dani > I hope learn more about you. > This is me: https://www.daniweb.com/welcome/about Re: Hello, I'm Ulf Dittmer Community Center Say Hello! by Ulfson > And where do you usually find your freelance projects? I just notice that I didn't answer that - I'm in the lucky position of never having had to go out to acquire new projects/clients. All clients approached me, or were introduced to me by others. Re: Hello, I'm Ulf Dittmer Community Center Say Hello! by John_165 > I just notice that I didn't answer that - I'm in the lucky position of never having had to go out to acquire new projects/clients. All clients approached me, or were introduced to me by others. Wow, that’s really lucky! Must be a great feeling to have clients come to you without having to look for them Re: Hello, I'm Ulf Dittmer Community Center Say Hello! by Dani > Mastodon is pretty much the only social network I'm on these days Do you consider forums as social networks? What’s the difference? Re: Hello, I'm Ulf Dittmer Community Center Say Hello! by trcooke Fair point. I have actually met about half a dozen of the CodeRanch staff in person which is way more social than I ever was on any other social network.