Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Converting string date time to unix time in AWK Post 302688565 by bkkid on Sunday 19th of August 2012 04:06:17 PM
Old 08-19-2012
hi lib, thanx for the help. I will play with it for now and see

Last edited by bkkid; 08-20-2012 at 03:05 PM.. Reason: wrong code
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies

2. Homework & Coursework Questions

Date comparison with 'string date having slashes and time zone' in Bash only

1. The problem statement, all variables and given/known data: I have standard web server log file. It contains different columns (like IP address, request result code, request type etc) including a date column with the format . I have developed a log analysis command line utility that displays... (1 Reply)
Discussion started by: TariqYousaf
1 Replies

3. Shell Programming and Scripting

Help converting date-time value to decimal

Hi I need help to do some calculation in script. I have a monitor program (munin) that I would like to log uptime information from a server. The script looks like this (not complete): #!/bin/sh # server_uptime ### Config Start # Reads the server parameters using the HTTP port with... (7 Replies)
Discussion started by: Jotne
7 Replies

4. Programming

Converting a user inputted date to epoch time

Hi all , I need to know how to convert a time stamp entered by the user to be converted to GMT/UTC(epoch time) using mktime() and gmtime() for exapample the input will be put in the form ptm.tm_sec = 0; ptm.tm_min = 59; ptm.tm_hour = 11; ptm.tm_mday = 20;... (2 Replies)
Discussion started by: ada
2 Replies

5. Shell Programming and Scripting

Converting date/time and generating offsets in bash script

Hi all, I need a script to do some date/time conversion. It should take as an input a particular time. It should then generates a series of offsets, in both hour:minute form and number of milliseconds elapsed. For 03:00, for example, it should give back 04:02:07 (3727000ms*) 05:04:14... (2 Replies)
Discussion started by: emdan
2 Replies

6. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

7. Shell Programming and Scripting

Adding time to date time in UNIX shell scipting

I needed some help in adding a duration (in seconds) to a start time (in hhmmss format) and a start date (in mmddyy format) in order to get an end date and end time. The concept of a leap year is also to be considered while incrementing the day. The code/ function that I have formed so far is as... (3 Replies)
Discussion started by: codehelp04
3 Replies

8. Shell Programming and Scripting

Displaying current date time of EDT in IST time

Hi Folks, My server time is in EDT. And i am sending automated mails from that server in which i need to display the current date time as per IST (GMT+5:30). Please advice how to display the date time as per IST. IST time leads 9:30 mins to EDT. and i wrote something like below. ... (6 Replies)
Discussion started by: Showdown
6 Replies

9. Shell Programming and Scripting

Converting real time to epoch time

# date +%s -d "Mon Feb 11 02:26:04" 1360567564 # perl -e 'print scalar localtime(1360567564), "\n";' Mon Feb 11 02:26:04 2013 the epoch conversion is working fine. but one of my application needs 13 digit epoch time as input 1359453135154 rather than 10 digit epoch time 1360567564... (3 Replies)
Discussion started by: vivek d r
3 Replies

10. Shell Programming and Scripting

Converting String Date into UNIX Date

Hi, I have a string date to my unix script(sun solaris). I wanted to convert it into unix date so that I can use it in a conditional statement. Please see below: MyTest.sh -s 2018-05-09 suppdt=$1 # string date passed via arguement as 2018-04-09 curryr=`date '+%Y'` nextyr=`expr... (2 Replies)
Discussion started by: Saanvi1
2 Replies
DVCONT(1)						      General Commands Manual							 DVCONT(1)

NAME
dvcont - send control commands to DV cameras SYNOPSIS
dvcont <command1> [ <command2> ... ] DESCRIPTION
dvcont is a command line tool to send control commands via an IEEE1394 link to a device that implements the AV/C specifications by the 1394 Trade Association. Or for the non-techies: dvcont lets you remote control your DV camera via a Firewire cable. The following commands are understood: dev <number> Select device number on chain to use. (dvcont tries to automatically detect the camera. Use the dev command BEFORE any other com- mands for manual control.) play Tell the camera to play. If already playing, it toggles slow-motion. reverse Tell the camera to play in reverse. If already playing, it toggles slow-motion. trickplay < -14 to +14 > Tell the camera to play at various speeds. 0 = forward play, -14 = fastest reverse, -8 = 1X reverse, -1 = slowest reverse, 1 = slowest forward, 8 = 1X forward, 14 = fastest forward. (Not supported by all cameras.) stop Tell the camera to stop playing. rewind Tell the camera to rewind. (Use in stop or play mode.) ff Tell the camera to fast forward. (Use in stop or play mode.) pause Tell the camera to toggle pause play. next Tell the camera to go to the next frame. (Use in pause mode.) nextindex Tell the camera to search for the next scene. (Use in pause or play mode.) prev Tell the camera to go to the previous frame. (Use in pause mode) previndex Tell the camera to search for the previous scene. (Use in pause or play mode) record Tell the camera to record. (Use with caution!) eject Tell the camera to eject the tape. (Not supported by all cameras.) timecode Report the timecode on tape in the format HH:MM:SS:FF. status Report the status of the device. verbose Tell the program to tell you debug info. version Tell the program to tell you the program version. help Tell the program to show you a help screen. AUTHORS
dvcont was written by Jason Howard <jason@spectsoft.com> and Dan Dennedy <dan@dennedy.org>. This man page was written with the help of help2man by Daniel Kobras <kobras@debian.org> for the Debian GNU/Linux distribution (but may be used by others). Updated by Dan Dennedy <dan@dennedy.org>. dvcont September 2001 DVCONT(1)
All times are GMT -4. The time now is 06:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy