Sponsored Content
Full Discussion: File name with yyyymmddhhmi
Top Forums UNIX for Beginners Questions & Answers File name with yyyymmddhhmi Post 303019971 by wbport on Wednesday 11th of July 2018 10:33:42 AM
Old 07-11-2018
If it will be in a script perhaps
Code:
datetime=`date +%Y%m%d%H%M`
date >myFile.$datetime.csv

 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

2. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

3. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
XMLRPC_SET_TYPE(3)							 1							XMLRPC_SET_TYPE(3)

xmlrpc_set_type - Sets xmlrpc type, base64 or datetime, for a PHP string value

SYNOPSIS
bool xmlrpc_set_type (string &$value, string $type) DESCRIPTION
Sets xmlrpc type, base64 or datetime, for a PHP string value. Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. PARAMETERS
o $value - Value to set the type o $type - 'base64' or 'datetime' RETURN VALUES
Returns TRUE on success or FALSE on failure. If successful, $value is converted to an object. EXAMPLES
Example #1 A xmlrpc_set_type(3) example <?php $params = date("YmdTH:i:s", time()); xmlrpc_set_type($params, 'datetime'); echo xmlrpc_encode($params); ?> The above example will output something similar to: <?xml version="1.0" encoding="utf-8"?> <params> <param> <value> <dateTime.iso8601>20090322T23:43:03</dateTime.iso8601> </value> </param> </params> ERRORS
/EXCEPTIONS Issues E_WARNING with type unsupported by XMLRPC. PHP Documentation Group XMLRPC_SET_TYPE(3)
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy