247 Topics

Member Avatar for
Member Avatar for mmcdonald

Hi all, I have two dates: 1 = $last_check = YYYY-MM-DD HH:MM:SS (A SQL value) 2 = $datetime = YYYY-MM-DD HH:MM:SS (Called using PHP) How can I take away 1 from 2 and convert the minutes and seconds left over into seconds? Basically I'm running an uptime counter script that …

Member Avatar for diafol
0
267
Member Avatar for Shodow

i am making a booking system and i am thinking how am i suppose to know if there is a conflicting time.. i want to add an Error message if the time is conflicting in other event help me please Example: Date Time Start Time End DEBUT September 18 5:00 …

Member Avatar for G_Waddell
0
218
Member Avatar for icedome

Hi guys, Does anyone knows a way to, in .net websites, monitor how long does a user stays in your website, and how does a user stays in certain page of my website? I'm thinking of making frequent ajax calls, but I'm not sure on this. Any ideas? Cheers

Member Avatar for G_Waddell
0
218
Member Avatar for Nutster

I have noticed that when I first post something, either as a new discussion or as a response to someone else, I can edit what I just posted. When I come back quite some time later, the option to edit is not longer presented. I am wondering how long that …

Member Avatar for Nutster
0
276
Member Avatar for vikitech

I am looking for a freelance software developer who can develop a software for CCD camera using the companys SDK. Persons with experience in VB6 preferred. Other with VC++ can also mail me. mail me as soon as possible for more details. mail: **vikitech@yahoo.com**

0
121
Member Avatar for Frensi

I have a function and want to use time.sleep(2) everytime an attack happens, but what ends up happening is the time.sleep(2) will work for the first player and enemy attack, then the program will print the rest of the attacks instantly. Does anyone know what I'm doing wrong? def attack(player, …

Member Avatar for Ene Uran
0
7K
Member Avatar for PhilEaton

I need to order these dates in descending order (last should be first) and in fact how they now appear. However they do not necessarily appear like those so I need a SQL Order By clause to order these descending: 2012-01-23 09:53:24.097105 2012-01-20 17:31:57.565458 2012-01-20 17:01:09.154587 2012-01-20 16:28:40.685735 2012-01-16 12:03:54.99954 …

Member Avatar for JorgeM
0
442
Member Avatar for skran

I try to filter my datagridview with a datetimepicker. When the datetime value is just date (eg.15/5/2010) everything work fine. But when there is also date and time value occurs conversion problem "conversion failed when converting date and/or time from character string". Iused also combobox populated with the dattime values …

Member Avatar for G_Waddell
0
551
Member Avatar for abathurst

So I'm uploading multiple images to a folder and inserting the images information to a database. The upload and insert is working great but the loop is running twice for each file and adding the information into the databse twice. I am unsure as to why this is happening. Please …

Member Avatar for chunkbar
0
303
Member Avatar for magicmarkuk

Hi I am using a script similar to Scriptlance which is using the server time to datestamp everything and display dates and times of the start and end of projects. The problem is that the server is in the US running on PDT time and I am in the UK …

Member Avatar for magicmarkuk
0
244
Member Avatar for tyson567

//$time in the second php code hold the time stored in the database in the same format as above(ie TIMESTAMP Format) //Save the first php code as timeago.php //include first php code u saved in the second php code as i have done.. //Use the Second Php code Wherever You …

Member Avatar for tyson567
0
1K
Member Avatar for Patiodude

I know little PHP, but even less MySQL, and my host doesn't allow remote database connections (for example, from Dreamweaver), so in addition to being confusing to me, database management is impractical. Is there any way to put a timestamp on an article automatically, without resorting to MySQL tables?

Member Avatar for Sogo7
0
256
Member Avatar for bradleyg11

hi i took my gpu out of my pc to check it because i was gettin driver not responding pop ups, and when ive put it back in my pc comes on for 10 seconds then the power cuts, ive even tried without the graphic card an it still cuts …

Member Avatar for JorgeM
0
156
Member Avatar for pooja.shinde

Hi i want to synchronize client system clock with server system clock. When i execute command "NET TIME \\servertosynchwith /SET /YES" through command prompt, it works well. But when we execute it through java program, it doesn't gives error, but also doesn's works. Client system clock remains as it is. …

Member Avatar for DavidKroukamp
0
153
Member Avatar for kishpopboy

hi! im currently creating a payroll system for my project and part of it is a time calculator. but my problem sir is that i don't know how to deduct lates on there daily hour .. its goes this way sir, it has a textbox that has their schedule that …

Member Avatar for adam_k
0
492
Member Avatar for pooja.shinde

System date & time is in SimpleDate format. How can i convert this into integer? **"sdf.format(new Date(System.currentTimeMillis()))"...**.......... I want to convert current time** into integer** data type. *Plz plz plz help me.* Any help for this is alwayz welcome.

Member Avatar for pooja.shinde
0
225
Member Avatar for if10066

I want to validate time format by putting time picker on my form, then i search for it in Internet and i found it [here](http://trentrichardson.com/examples/timepicker/). I follow the steps, but it is did't work. In my page i just want to receipt time (hh:mm). i need it to validate the …

Member Avatar for androtheos
0
228
Member Avatar for azareth

i have this code where it computes for the time entered by the user. it doesn't have yet the limitations or the conditions regarding the time to be entered . it successfully computes for the time and the hour increases based on the minutes, but the problem is when you …

Member Avatar for TrustyTony
0
259
Member Avatar for poojavb

Hello Friends, I need help to get the time value from MSSQL database to VB.Net Datetimepicker I have a datetimepicker but the custom format is set to HH:mm tt so that I can get eg 11:20 AM this value I have stored in database with the help of ` Label4.Text …

Member Avatar for poojavb
-1
1K
Member Avatar for vincent5487

Write a program that prompts the user to input the start time and the stop time in hours and minutes (use 24 hour format), and then print out the time spent in work in hours and minutes. For example: Enter start time : 9 30 Enter finish time : 13 …

Member Avatar for subith86
0
202
Member Avatar for azareth

i have this code, it's purpose is to automatically add a colon when the index is 2, i have done it, but when replacing(overwrite) index 2 where (:) is, you can replace it with a different char, so basically colon will be removed. and also what if the user has …

Member Avatar for azareth
0
2K
Member Avatar for Patiodude

I've just started working with PHP, and one of the first things I want to do is add a timestamp to my article template in Dreamweaver, so that each article I post automatically has the post date. How would one go about doing this?

Member Avatar for diafol
0
150
Member Avatar for Szabi Zsoldos

Hello, I've built a timekeeping aplication from a fingerprint machine with automatic import to db and I'm getting some reports. One report is that I'm getting the employees time if they are late from work. But my table is small with 20.000 entries, but with the following query, the results …

Member Avatar for maniat123
1
223
Member Avatar for gurupts

Time and Date reset in win 7, every day it happen some time when i restart the system...i replace a new cmos battery but it won't help..

Member Avatar for JorgeM
0
201
Member Avatar for phplover

Hi, When a user registers on my site there status is 0 (not active) ... meaning they not activated there account via email. When they register i also store the DATETIME they registered, i store it in MySQL using MySQL DATETIME and using `NOW()` in my INSERT query on registration. …

Member Avatar for phplover
0
3K
Member Avatar for djokerfan20

Hi everyone! This is the code that I have made, however, when I enter a date for example if I type : 12/12/2012 then the date for tomorrow displays a list of dates. I am unsure how to get it to only display the date of tomorrow. #include <stdio.h> int …

Member Avatar for djokerfan20
0
243
Member Avatar for de Source

hi, i have three text boxes tb1 has timeIn tb2 has TimeOut and i have a Button which shows the time duration between them i have used time diffrence method bt it is unable to calculate the duration it only gives the difference which create problem when time is greater …

Member Avatar for darko444
0
492
Member Avatar for TheWind147

Hello! Below is a function exhibiting a simple stopwatch mechanism. It stops when the user presses any key and goes back to the main menu. My question is, is there anyway I can pause the time and continue it as desired by the user? I would like to use "P" …

Member Avatar for WaltP
0
3K
Member Avatar for minxminx

This is a code which sorts arrays. I use clock_t to determine the processing time for my code. However, it always stacks with the time taken from before. It looks like it's just adding the results. [code] int main(int argc, char *argv[]) {unsigned long n;//size of array -- long for …

Member Avatar for Labdabeta
0
543
Member Avatar for JJCollins

The End.