Sponsored Content
Top Forums Programming PHP Travel Clock based on Mysql Date time Post 302694603 by AimyThomas on Friday 31st of August 2012 05:25:49 AM
Old 08-31-2012
PHP Travel Clock based on Mysql Date time

I have date time records in a PHP mysql table, I need a PHP travel clock which obviously counts down, I mean acts like a travel clock, but the clock time should be the date time field value down by the second, based on the full date time, from day to seconds

It is not just one record, I made it to display this clock, the problem is JavaScript, which makes all the 36 records the last record value, it is an ajax pagination, so I will need to do the same on next page, right now Ajax is not a priority, I can let go of Ajax pagination, but need to display the clock

Thanks in Advance
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

time clock program

How would you write a program that would continually show the time in HOURS:MINUTES on an ASCII terminal(not just xclock)? (5 Replies)
Discussion started by: Ben070371
5 Replies

2. Shell Programming and Scripting

Processing a log file based on date/time input and the date/time on the log file

Hi, I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
Discussion started by: primp
4 Replies

3. UNIX for Dummies Questions & Answers

Real time of a clock for every 60 seconds in unix

hi can any one guide me on how to display real time of a clock in unix for every 60 seconds (2 Replies)
Discussion started by: ramnadh_babu
2 Replies

4. Shell Programming and Scripting

Getting date output based on time zone

Hi, We have a server in US and hence while the command "date" is given it gives the output in EDT. If I want the date output in MET, how can I get it. Please let me know how I could do it in the script which is ksh. Thanks. (1 Reply)
Discussion started by: jmathew99
1 Replies

5. War Stories

Time travel

Perhaps a story in the making.... In 2 years or so my company is purchasing a new computer system for our distributing business. Right now, we have an AIX 5.3 machine and some other servers that I admin. I do not have a college degree. My tech knowledge is mostly experience. I have not studied... (7 Replies)
Discussion started by: herot
7 Replies

6. Shell Programming and Scripting

List Files Based On Time & Date

Hi All, I am using HP Unix. I want to list files which are created 5 minutes before on the same day as well as before today's date. I checked all the forums and the commands provided there does not work on HP Unix. Can you please help me on this? Your help is highly aprreciated. Thanks and... (3 Replies)
Discussion started by: angshuman
3 Replies

7. Shell Programming and Scripting

Extracting log files based on date and time.

Hi All, i have some log files generated in a folder daily with the format abc.def.20130306.100001 ghi.jkl.20130306.100203 abc.def.20130305.100001 ghi.jkl.20130305.100203 the format is the date followed by time . all i want is to get the files that are generated for todays... (3 Replies)
Discussion started by: mahesh300182
3 Replies

8. UNIX for Dummies Questions & Answers

Condition based on Timestamp (Date/Time based) from logfile (Epoch seconds)

Below is the sample logfile: Userids Date Time acb Checkout time: 2013-11-20 17:00 axy Checkout time: 2013-11-22 12:00 der Checkout time: 2013-11-17 17:00 xyz Checkout time: 2013-11-19 16:00 ddd Checkout time: 2013-11-21 16:00 aaa Checkout... (9 Replies)
Discussion started by: asjaiswal
9 Replies

9. Shell Programming and Scripting

Awk: time intervals based on epoch time

I have a list of epoch times delimited by "-" as follows: 1335078000 - 1335176700 1335340800 - 1335527400 1335771300 - 1335945600 1336201200 - 1336218000 The corresponding dates are: 20120422 1000 - 20120423 1325 20120425 1100 - 20120427 1450 20120430 1035 - 20120502 1100 ... (3 Replies)
Discussion started by: alex2005
3 Replies
dclock(1)                                                     General Commands Manual                                                    dclock(1)

NAME
dclock - digital clock SYNOPSIS
dclock [ -cmjd ] [ -sslant ] [ -tthickness ] [ -frate ] DESCRIPTION
Dclock displays a scalable digital clock. The time is updated from the local host clock every minute as a background process. The current date is displayed across the top of the window in the format Sat Aug 16 1986 (or some subset of such if there's not enough room). Options to control the clock's appearance, size and placement are as follows: -c Display in 12-hour format ("civilian" time) -- the default. -m Display in 24-hour format ("military" time). -j "John's flag." Puts a tail on the digit `9'. -d Do not display the current date across the top of the clock view. -b Display a border (horizontal line) between the date string and the time display. -T Do not display the Time in the clock view (leaving just the date). -sslant Set the slant of the digits. A slant of 100 (the maximum) corresponds to a slant of one digit width. A slant of 0 (the minimum) is vertical. Default is -s30. A special form is -s, which is equivalent to -s0. -tthickness Set the thickness of the digit segments. Allowable values are between 5 and 25. A thickness of 25 results in segments which are one quarter (25%) of the digit width. Default is -t15. -frate Set the rate at which the segments fade when the time changes. A value of 0 is fastest and 4 is slowest. Default is -f4. A special form is -f, which is equivalent to -f0. To exit dclock, type a `q' in the window. dclock(1)
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy