Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
hours
- Page 1
Re: My php is showing wrong results of time difference
Programming
Web Development
6 Days Ago
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
6 Days Ago
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: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Dani
… now a PHP object of how many years, months, days,
hours
, seconds // See for ourselves what $diff looks like var_dump($diff… how to format the time interval $format = '%d days, %h
hours
, %i minutes'; // Format the difference in a way we want…
Re: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Dani
… 15? You should be able to do something like this: $
hours
= $diff->h; $total_hours = $diff->h - 1; echo "…;Total
hours
: $total_hours"; Alternatively, this should also work: $total_hours = $diff->…
My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Mr.M
… days now the problem is also properly calculating how many
hours
and minutes apart. Does anyone know a way to tackle…
Re: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
by Dani
In other words, if you just need days or
hours
you can do something like `$diff->d` or `$diff-&…
Re: Cost-Effective Digital Marketing Ideas for New Startups?
Digital Media
Digital Marketing
2 Weeks Ago
by Dani
…: Entrepreneurs are willing to work 80
hours
a week to avoid having to work 40
hours
a week. Put time into doing…
Re: Delete unused MySQL indexes
Programming
Databases
2 Weeks Ago
by Dani
… lead to huge performance wins. For us, it takes 12+
hours
to add an index to a table, during which for…
Re: Delete unused MySQL indexes
Programming
Databases
2 Weeks Ago
by Reverend Jim
… that got corrupted was a matter of minutes rather than
hours
. Inserts were done on the base tables, and selects (almost…
Re: When Speed Replaces Satisfaction in Coding
Community Center
Say Hello!
1 Week Ago
by Reverend Jim
… I never enjoyed the parts where I had to spend
hours
uselessly searching for how to build the nuts and bolts…
Re: App development - Lobby functionality optimisation
Programming
Mobile Development
2 Weeks Ago
by jonathannweyer
Since you’ve already tried caching and reducing network calls, you might want to look into pagination or lazy loading to avoid loading all rooms at once. WebSockets can also help by pushing updates instead of polling. Make sure your backend queries are indexed efficiently, especially for filters like player count. If the lag happens mostly during …
Re: My php is showing wrong results of time difference
Programming
Web Development
1 Week Ago
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
1 Week Ago
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
1 Week Ago
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
1 Week Ago
by Mr.M
Thank you, you saved me, I've been trying for weeks now. It works now perfectly with your code.
Re: Selling the house that I grew up
Community Center
Geeks' Lounge
2 Months Ago
by Reverend Jim
… maintain at our age and the drive (close to eight
hours
) was just getting to be too much (I did the…
Re: I'm Tired! How to Increase Social Media Followers
Digital Media
Digital Marketing
1 Month Ago
by MajithaDotcom
… when your audience is most active (usually evenings or lunch
hours
). Mix up content—reels, carousels, memes—and always add value…
Re: Hanayama Cast Puzzles - Mind bracing riddles
Community Center
Geeks' Lounge
1 Month Ago
by Emma_Rose
Absolutely, I love puzzles! 🧩 The Cast Radix sounds like an awesome challenge—level 4 definitely isn’t a walk in the park. There’s something super satisfying about taking apart a well-crafted metal puzzle and figuring out the perfect movements to get it back together. And yes, that solid, high-quality feel makes a big difference—it’s like the …
hours display is incorrect
Programming
Software Development
12 Years Ago
by kimangel
…12:49:17 it displays incorrect
hours
and the
hours
on the other day is ….Caption = rs!Total 'START : Computation for
HOURS
and OVERTIME Me.cmdSearch.Enabled = False txtRegHolidays.SetFocus… rsTotalHrs.MoveNext Next 'END : Computation for
HOURS
and OVERTIME rs.Close Set rs = Nothing…
Hours format
Programming
Software Development
11 Years Ago
by PulsarScript
… doesn't behave as it should. It dispalys
hours
and minutes from 19:00-23:59 ,but …int _tmain(int argc, _TCHAR* argv[]) { int
hours
,minutes ; for(
hours
=0;
hours
<24;
hours
++) { for( minutes=0;minutes<60;minutes++)…;setw(2)<<setfill('0')<<
hours
<<setw(2)<<setfill('0')&…
Re: hours display is incorrect
Programming
Software Development
12 Years Ago
by TnTinMN
… the days diff = diff - diffDays ' get the number of
hours
' multiply remainder by 24 diff = diff * 24# 'the …integer part is now the number of
hours
Dim diffHours As Integer diffHours = Fix(diff) ' subtract off…
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by jwenting
Same here. Up to 10
hours
a day at the office and another 4-6
hours
at home during weekdays. Weekends, anything from nothing to nearly 24
hours
a day depending on what I'm doing. OTOH during vacation time I often choose locations where there are no computers (and often no phones, televisions, radios and newspapers) at all.
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by Xenarchy
This is such a hard question. Durring the week I get paid to be on a computer for 8
hours
ever day. Then when I go home I play around with my own stuff for a few
hours
. However on weekends I rarely touch my computer, except maybe sunday. So I'd guess between 8 and 16
hours
a day depending on what is going on.
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by Letscode
Same here.8-10
hours
at work and 4
hours
at home. But you gotta really take care of you …
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by freesoft_2000
Hi everyone, Usually i spend about 8
hours
a day on the computer but the longest i have spent on a computer is 22
hours
. Richard West
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by JANINE
… or not i'm working but usually a couple of
hours
a day. my brother on the other hand..... ummmmmmm 10…
hours
a day at least. you lot make me look like …
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by zeroth
[QUOTE=tayspen]how many
hours
aday are you huys on the computer :idea:[/QUOTE]My … and someone is on one of them all the waking
hours
, whether it´s the children or the wife or me…
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by blud
I'm on the computer about 14-16
hours
on a normal work day, and on/off about 6-12
hours
on a non-work day. Needless to say, the only reason my wife isn't very upset is because I got her to play on one too! :twisted:
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by raffzahn
normally 8 to 12
hours
a day, weekends 4 to 8
hours
. If I don't work, I play eve-online, a MMORPG. raffzahn
Re: Hours a day on the comp
Community Center
Geeks' Lounge
19 Years Ago
by 5starAffiliates
I'm a workaholic. Typically 12
hours
on weekdays, but try to limit myself to 8
hours
on weekends. My carpal tunnel doesn't like it when I overdo it so trying to take it easy.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC