OpenAI o3 vs Anthropic Claude 4 for Text Classification & Summarization Programming Computer Science by usmanmalik57 … an accuracy of 79%, with a processing time of 5 minutes and 6 seconds. The OpenAI o3 model is a clear… Re: Is Microsoft Solutions Partner Badge Really Worth It? Programming Software Development by rproffitt … we waited for fixes and server responses times in the minutes per transaction. Because of that experience I go "Meh… Re: SEO vs AEO – Which is more important for the future of search? Digital Media Digital Marketing Search Engine Strategies by rproffitt … that Cape Breton Island has its own time zone 12 minutes ahead of mainland Nova Scotia time because they are both… Re: Flood control using Redis Programming Web Development by Dani Status update: we now use Cloudflare’s free rate limiting functionality. Back when I wrote this, Cloudflare charged for rate limiting. Note we have a Business account. My php is showing wrong results of time difference Programming Web Development by Mr.M … the problem is also properly calculating how many hours and minutes apart. Does anyone know a way to tackle this as… Re: My php is showing wrong results of time difference Programming Web Development by Dani … format the time interval $format = '%d days, %h hours, %i minutes'; // Format the difference in a way we want echo 'The… Re: Upgrade to Fiber internet Hardware and Software Networking by Dani … when it eventually came around, the tech gave a 15 minutes heads up, and then never showed and ghosted us. My… literally told the guy at the door just a few minutes ago, "You were supposed to be here yesterday. No… Re: Upgrade to Fiber internet Hardware and Software Networking by Dani First post from my new (~2 minutes old) 5Gbps fiber connection. :) Re: Riddles Community Center Geeks' Lounge by Emma_Rose … the first switch and leave it on for a few minutes. Then turn off the first switch and quickly turn on… Re: Delete unused MySQL indexes Programming Databases by Reverend Jim … any particular month that got corrupted was a matter of minutes rather than hours. Inserts were done on the base tables… 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). can someone help me with this python code to add cell phone minutes Programming Software Development by sob_andizzle … the mnutes between 200 and 800 how many minutes are allowed #if it is over 800 or…#then it displays a monthly use report minutes allowed: minutes used were: minutes over were: #then the total is… over your minutes by 50 ---------------MONTHLY USE REPORT------------------ Minutes allowed were 350 Minutes used were 400 Minutes over were… Convert minutes to hours and minutes Programming Software Development by visom … homework problem is to convert minutes into hours AND minutes ex. 124 minutes = 2 hour(s) and…(int); int remainder; int main () { int minutes; int convert_to_hours; int remainder; cout <<… endl; return 0; } int Convert(int minutes) { int convert_to_hours; convert_to_hours = minutes / 60; return convert_to_hours; } int Convert(int… Re: can someone help me with this python code to add cell phone minutes Programming Software Development by sob_andizzle …, mins) def mins(): mins = input("how many minutes are allowed) if mins <200: print "Please… if mins >800: print "Please enter minutes between 200 and 800" return mins def used…(): used = input("how many minutes were used") if used < 0: print … Re: can someone help me with this python code to add cell phone minutes Programming Software Development by sob_andizzle … mins) def mins(): mins = input("how many minutes are allowed) if mins <200: print "Please…if mins >800: print "Please enter minutes between 200 and 800" return mins def …used(): used = input("how many minutes were used") if used < 0: print… C++: Converting seconds to days/hours/minutes/seconds Programming Software Development by antoinette.boulevard … { long InSeconds, InMinutes, InHours; int seconds; int minutes; int hours; int days; cout << &… InSeconds / SECONDS_IN_MINUTE ; // compute minutes minutes = InMinutes % MINUTES_IN_HOUR ; // throw away minutes used in previous statement and convert … Re: C++: Converting seconds to days/hours/minutes/seconds Programming Software Development by pasx …; seconds " ; cout << t.tm_min << " minutes " ; cout << t.tm_hour << " hours… XP boots to black screen for minutes Hardware and Software Microsoft Windows by BBdevil … windows loading screen appeared the screen went black for several minutes. Thinking it had froze, I held the power button …my desktop background with no icons or task bar. 5 minutes later, they all appeared though some programs would not open…crashes often forcing me to wait as long as 20 minutes to restart. I read through a few threads on here… Reload image after X minutes Programming Web Development by DemonGal711 … force the script to grab a new image after X minutes if the page hasn't already been reloaded? I'd…. Example (grab new image after 5 minutes) Person A reloads the page every 3 minutes. Since 3 is less then 5, this… be called. Person B reloads the page every 9 minutes. Script waits 5 minutes, updates image to new image, then it continues… converting milliseconds to hours, minutes, and seconds(please help) Programming Software Development by simplyflawless …public static String convertMillis(long millis) { double hours; double minutes; double seconds; int milliseconds = 0; int currentSeconds =…seconds = milliseconds/1000; hours = seconds/(60*60); minutes = seconds % ((60*60)); System.out.println("… Working with Time: Minutes/Hr's Programming Software Development by merban … a basic code to declare , which holds a variable named minutes on a job, and assign a value. It should display… the value in hours and minutes. An example would be, 197 minutes becomes 3 hr and 17 minutes. And should also have a… program is run, the number of hours and number of minutes will always be the same based on the constant. Trying… Dell laptop auto shutdown every 5-10 minutes Hardware and Software Microsoft Windows by MCMdizajn … these drivers laptop started to auto shutdown every 5-10 minutes. I assumed problem was in new drivers and because I… continiued to autoshutdown first each 10 minutes, then each 4-5 minutes and then again every 10 minutes so there isn't any… so [U]I have to wait for 1.5-2 minutes to turn it on again[/U]. I am not sure… Seconds to minutes help Programming Software Development by Gl753 …"); int second = Integer.parseInt(input); int minutes = second/60; // number of minutes int seconds = second/60; // number of seconds…is " + second + " is converted to: " + minutes + " minutes and " + seconds + " seconds."); Any pointers / …