Is there an easy method to do an on the fly conversion of a standard epoch time (seconds from 1970) to more readable date format?
Does Unix have anything built in to do this? (4 Replies)
hello gurus,
i want a perl/shell script which once invoked should convert a set of EPOCH timestamps to local time ( IST..i want) .
how does it work ,i have an idea on that..but writing a perl/shell script for it is not possible for me...so i need help for the same.
my exact requirement is... (2 Replies)
how can I get the current standard epoch time (seconds from 1970) in a shell script?
I know I could do this with a bit of perl of even c++ but i want to do it in Bourne shell..... (14 Replies)
I need to convert an epoch time from a file into a standard UTC time and output it in the same format but I'm not sure what's the best approach
here's the input file and the bold part is what I need to convert.
1,1,"sys1",60,300000
2,"E:",286511144960
3,1251194521,"E:",0,0... (2 Replies)
I need shell or Perl script to get the epoch time automatically
Example I need to execute mysql command to delete content less then given epoch time
If date is 01-07-2010 (dd-mm-yy) epoch should be lees 7 days mean 23-06-2010 for 23-06-2010 I need epoch time
Delete BS_table where... (1 Reply)
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
I am trying get time difference of two dates in secs. Initially I want to convert a standard date format to epoch for two dates and then subtract the two epoch dates.
Example :
date -d "2007-09-01 17:30:40" '+%s'
But this gives me below error
date: illegal option -- d
Usage: date
OS: AIX... (6 Replies)
Hi All,
Please read the below data carefully.
I need an unix command for converting unix timestamp to Epoch timestamp.
I need to daily convert this today's unix(UTC) time to epoch time, so i am thinking to make a shellscript for this.
Please help me for this by providing... (3 Replies)
Hi there
I'm using this script to convert command line history with Epoch time stamp to human readable. While it works fine with users with /bin/csh shell, it fails to convert for users with /bin/bash shell. Why is this happening? I even changed and added * and after the # but it still didnt... (2 Replies)
Hi. I have timestamps that I am trying to convert to epoch time. An example:
I am trying to convert this to an epoch timestamp but have one little glitch. I have this:
import time
date_time = ''
pattern = ''
epoch = int(time.mktime(time.strptime(date_time, pattern)))
print epoch... (1 Reply)
Discussion started by: treesloth
1 Replies
LEARN ABOUT DEBIAN
payload
Payload types and formats.(3) Library Functions Manual Payload types and formats.(3)NAME
Payload types and formats. -
Classes
class PayloadFormat
Base payload format class.
class StaticPayloadFormat
Static payload format objects.
class DynamicPayloadFormat
Dynamic payload format objects.
Typedefs
typedef uint8 PayloadType
RTP payload type numeric identifier.
Enumerations
enum StaticPayloadType { sptPCMU = 0, firstStaticPayloadType = sptPCMU, sptG726_32 = 2, sptGSM, sptG723, sptDVI4_8000, sptDVI4_16000,
sptLPC, sptPCMA, sptG722, sptL16_DUAL, sptL16_MONO, sptQCELP, sptMPA = 14, sptG728, sptDVI4_11025, sptDVI4_22050, sptG729,
lastStaticAudioPayloadType = sptG729, sptCELB = 25, sptJPEG, sptNV = 28, sptH261 = 31, sptMPV, sptMP2T, sptH263,
lastStaticPayloadType = sptH263 }
RTP static payload types (default bindings) defined in the AVP profile.
Variables
const PayloadType ptINVALID = 128
Predefined value for invalid or uninitialized payload type variables.
Detailed DescriptionTypedef Documentation
PayloadType
RTP payload type numeric identifier. At the RTP level a payload format is identified with a 7 bit number. This number is binded to a
payload format through non-RTP means (SIP, SAP, application specific rules, etc.)
Enumeration Type Documentation
enum StaticPayloadType
RTP static payload types (default bindings) defined in the AVP profile.
Enumerator:
sptPCMU
ITU-T G.711. mu-law audio 8 Khz (RFC 1890)
firstStaticPayloadType
sptG726_32
ITU-T G.726. ADPCM audio (RFC 1890)
sptGSM GSM audio (RFC 1890)
sptG723
ITU-T G.723. MP-MLQ ACELP audio (RFC 1890)
sptDVI4_8000
Modified IMA ADPCM audio 8Khz (RFC 1890)
sptDVI4_16000
Modified IMA ADPCM audio 16Khz (RFC 1890)
sptLPC LPC audio (RFC 1890)
sptPCMA
ITU-T G.711 A-law audio 8 Khz (RFC 1890)
sptG722
Audio (RFCs 1890, 3047)
sptL16_DUAL
Linear uncompressed dual audio (RFC 1890)
sptL16_MONO
Linear uncompressed mono audio (RFC 1890)
sptQCELP
Audio at 8000 hz.
sptMPA MPEG Audio elem. stream (RFCs 1890, 2250)
sptG728
ITU-T G.728. LD-CELP audio.
sptDVI4_11025
DVI audio at 11025 hz (by Joseph Di Pol)
sptDVI4_22050
DVI audio at 22050 hz (by Joseph Di Pol)
sptG729
ITU-T G.729. CS-ACELP audio.
lastStaticAudioPayloadType
sptCELB
Sun's propietary video (RFCs 1890, 2029)
sptJPEG
JPEG (ISO 10918) video (RFCs 1890, 2435)
sptNV Ron Frederick's nv audio (RFC 1890)
sptH261
ITU-T H.261 video (RFCs 1890, 2032)
sptMPV MPEG Video elem. stream (RFCs 1890, 2250)
sptMP2T
MPEG 2 Transport stream (RFCs 1890, 2250)
sptH263
ITU-T H.263 video (RFCs 2190, 2429)
lastStaticPayloadType
Variable Documentation
const PayloadType ptINVALID = 128
Predefined value for invalid or uninitialized payload type variables.
Author
Generated automatically by Doxygen for ccRTP from the source code.
ccRTP Sat Jun 23 2012 Payload types and formats.(3)