I have a file with some date columns in MM/DD/YYYY format:
SMPBR|DUP-DO NOT USE|NEW YORK||16105|BA5270715|6/6/2007 |MWERNER|109||||JOHN||SMITH|MD|72211118||||||74559|21 WILMINGTON RD||D|11/6/2003|SL# MD CONTACT-LIZ RICHARDS|||0|Y|N||1411458|
And I want to convert the date format to:
... (5 Replies)
In my shell script i have a variable which stores date in the format of YYYYMMDD. Is there any way to format this value to MM/DD/YYYY.
Thanks. (8 Replies)
Hello,
I am writing a script that parses different logs and produces one. In the source files, the date is in DD MM YYYY HH24:MI:SS format. In the output, it should be in DD MON YYY HH24:MI:SS (ie 25 Jan 2010 16:10:10)
To extract the dates, I am using shell substrings, i.e.:
read line
... (4 Replies)
Hi all,
i had a code where in user will enter a date in yyyymmdd format.. i didnt use any validation for the date and now the problem is if a user enters date instead of month after year it is proceeding with the code..
like if the date is 20120426 and if the user enters 20122604 it... (4 Replies)
Hi I have a problem with Date format in my code.
1st I am trying to convert today's date to yesterday's using
YESTERDAY3=`perl -e '@y=localtime(time()-86400); printf "%04d/%02d/%02d",$y+1900,$y+1,$y;$y;'`
And once it is done I am trying to using the yesterday date in a grep command to... (3 Replies)
Hi All,
I have line
,A,FDRM0002,12/21/2017,,0.961751583,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
it contains date in mm/dd/yyyy format i want to change this to yyyymmdd format using perl.
Use code tags, thanks. (8 Replies)
Hi All
I need help in converting a string of YYYYMMDD format to date in Sun OS and then find out if the day is a Wednesday or not. The "date -d" option is not working and your help is much appreciated.
The date command usage from the operating system we use here is as follows:
usage: ... (1 Reply)
Hi All
I need help in converting a string of YYYYMMDD format to date in Sun OS and then find out if the day is a Wednesday or not. The "date -d" option is not working and your help is much appreciated.
The date command usage from the operating system we use here is as follows:
Thanks,
SK (11 Replies)
Discussion started by: SK123
11 Replies
LEARN ABOUT DEBIAN
zmq_term
ZMQ_TERM(3) 0MQ Manual ZMQ_TERM(3)NAME
zmq_term - terminate 0MQ context
SYNOPSIS
int zmq_term (void *context);
DESCRIPTION
The zmq_term() function shall terminate the 0MQ context context.
Context termination is performed in the following steps:
1. Any blocking operations currently in progress on sockets open within context shall return immediately with an error code of ETERM. With
the exception of zmq_close(), any further operations on sockets open within context shall fail with an error code of ETERM.
2. After interrupting all blocking calls, zmq_term() shall block until the following conditions are satisfied:
o All sockets open within context have been closed with zmq_close().
o For each socket within context, all messages sent by the application with zmq_send() have either been physically transferred to a
network peer, or the socket's linger period set with the ZMQ_LINGER socket option has expired.
For further details regarding socket linger behaviour refer to the ZMQ_LINGER option in zmq_setsockopt(3).
RETURN VALUE
The zmq_term() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.
ERRORS
EFAULT
The provided context was invalid.
EINTR
Termination was interrupted by a signal. It can be restarted if needed.
SEE ALSO zmq(7)zmq_init(3)zmq_close(3)zmq_setsockopt(3)AUTHORS
This manual page was written by the 0MQ community.
0MQ 2.2.0 04/04/2012 ZMQ_TERM(3)