247 Topics
|
|
Hello~ I'm having a little problem on how to make a timer which include minutes and seconds. The design of the form goes like this: [url]http://i.imgur.com/lh1pk.png[/url] Another condition here is when the timer goes down, the interval gets faster. Please help me~ |
|
Im creating a time-base site wherein the timestamp should rely on the global time and not to my PC's time (because it can be out-dated somethimes). How can I do that? |
|
Hello there, I need some help with a query .. Table gamedate cutofftime 2011-08-25 13:55 I want to list games that are today +7 days but today games where the cutoff time has passed should not be displayed. Can anyone help me with this query please. Thank you for any … |
|
Hello Gurus, I have a table that holds one date field and one time field. The formats are 2011-12-01 and the time field format is 22:55:01 I want to compare a string "2011-12-01 22:58:00" to the date and time field of the table, without having to take the string apart. … |
|
Hello, What I am trying to do is restrict access to something if 48 hours hasn't passed since the last access. I have a MySQL table with the last access time (col name: lastAccess). If they are within the 48hours, deny access and tell them how many hours and minutes … |
|
Hello all. I was just designing a web application form that is meant to accept a user's request to use a particular room in a specified period of time. After the user enters his specifications, the application now responds, telling the user if the location specified is available at the … |
|
Dear All To conduct online exams we need to set timer for say 60 minutes or 90 minutes after this time the user should be logged of fiocrcefully Please help me for the code in php Can I use session for this ... |
|
Oka. So i have this rather simple program, basically i want it to be able to count the number of hours it has been open. My problem is that i am trying to use [CODE]import java.util.date; Calendar calendar = Calendar.getInstance();[/CODE] And apperently this does not update after the program has … |
|
Is there a way to get current date and time from remote windows machine on linux? On remote windows machine ssh not enabled, there are no powershell. Can we achieve result via telnet or smbclient? |
|
Hi All, I have a problem on one of my site where I have Quintum VOIP gateways in 2 separate buildings that are connected with a Fiber link. When running the ping command I loose packets to the Quintums but not to PC's. Today their Exchange server went down and … |
|
The code demonstrates running program limitted time by following going over endtime expressed in seconds since midnight, so might fail for playing just midnight (add check that endtime is less than 24*60*60 if you want to be sure). Exciting action :) of the program is that it shows remaining time … |
|
I was looking around the time module. The time.sleep(no_of_seconds) sleeps the program for no_of_seconds seconds. I don't think this is busy wait. It must be scheduling the process at a later time. Just curious of how this is working.! :) |
|
I would like to be able to create a script that displays whether or not a store is open when the user looks at the page. It would be simple if some didn't close for an hour during the day. I could set it up: MondayOpen 800 MondayClosed 1600 and … |
|
Hi there guys, I'm very new to AJAX so i'm not sure if it's possible or there is already something like this available. But i'm looking for some kind of horizontal slider. Not an image slider with arrows or something like that. But more like a timeline which you can … |
|
Hello, I got a problem, I can save my data to access database and in the access database field I set it to date/time. But problem is when I get the value out from the database.. the format is always month/day/year hour:minutes:seconds example today: 5/2/2011 12:00:00 How to get the … |
|
|
I am converting seconds to minutes, hours, days. For some reason I have an issue with the days not calculating when running the program. The 'if' statement seems completely ignored by the program. I think this may be caused by the warning I get. Any help would be greatly appreciated … |
Hi everyone, I have created a random text generator -ok, not so random, works with certain parameters- and at times it runs slowly. I looked up on the internet about speeding tricks and applied some of them that looked concurrent with my code piece. The code however, is still slow … |
|
hi there [B]how do i determine the average Number of Queue Items that leave the queue (example: processes leaving the ready queue in order to be Running in the CPU) per second?[/B] i need this value to calculate for the average waiting time. the formula is: w = n/X where … |
|
Good Day i already set up my MySql Database and my form for this application. I have this project in school that will give time credits to every student. For example a student gave 30 hours of time consumable, everytime he uses the computer the time will deduct how mmuch … |
|
I had recently made a .bat file that read a couple lines from file.txt and assigned them as variables then went through the execution of the bat which ended up deleting the original file.txt and writing the new values to a new file.txt. Now I want to convert this to … |
|
I am using a) Linux b) Pthreads I want to write a program, with two pthreads, to cater for two queues of people. People arrive at each queue at a random interval of 1 - 10 seconds. Each time a person arrives, print out the number of people in each … |
|
Hi, At the moment I am pulling a record from the database which is in datetime format. Could someone please tell me how I can modify this to just display the time and exclude the date? Many thanks for any help. [CODE]<?php $time = mysql_query("SELECT * FROM gps WHERE imei … |
|
hi friends, In my project, want to display data from Mysql between two date. Date was given by user only, according to that it take info from database, And important things is display the retrieve information through table, My Html coding : [CODE] <body> <form method="post" action="reportviewinfo.php"> <label>From Time : … |
|
Hi, Everyone... I have a new domain in my hosting account and I've already created a wordpress blog about Cars.. However this is the result of a speed test I have made a few minutes ago makingmoneyblogs.info/carscarereview size=71.36 KB Load Time=36.19 seconds average speed per KB=0.51 seconds As you can … |
|
Hi, I am able to create a clock in a console c++ app...like this one show UTC hours:[CODE]#include "stdafx.h" #include <iostream> #include <windows.h> #include <stdio.h> void main() { SYSTEMTIME st, lt; GetSystemTime(&st); GetLocalTime(<); std::cout << st.wHour << std::endl; std::cin.get(); }[/CODE] But I am not able to create this with the … |
|
Dear Sir/Madam How to check execution time of a procedure with the help of Timer control? How i have tried, i am attaching herewith my test program. Please guide me. |
|
Dear Sir/Madam, I have two types of procedure for one/same result. No. 1 procedure is very long without loop and no. 2 procedure is sort with many loops. So I want to check those procedure, which one is taking less time than another. Please guide me. |
|
Hello friends, this is the first time that i deal with cookies, i'm creating only one cookie for my site. This is the problem i want to validate one thing in my main page, that the user will be able to just click once a link, so in my cookie … |
|
The code I wrote for a digital clock always falls behind the clock in my windows 7 taskbar after being run for like 2-3 mins. Why? Here's the code: [CODE]#include <stdio.h> #include <time.h> #include <windows.h> int main() { int h,m,s; time_t epoch_time; struct tm *tm_p; epoch_time = time( NULL ); … |
|
I figured out how to use time in C since the last time I asked a question here. :cool: My new dilemma is that I was wondering if its possible to save user input in a C program so that when the program is closed and executed again it will … |
The End.