Search Results

Search: Posts Made By: vishal0746
1,111
Posted By vishal0746
Decimal field round of
Hi,

I want to round of decimal numbers in comma seperated lines till 2 decimal numbers.

line will be like.

...
Forum: Programming 03-13-2017
5,169
Posted By vishal0746
I want to see current system time in HHMMSS format
I want to see current system time in HHMMSS format
Forum: Programming 03-13-2017
5,169
Posted By vishal0746
Can you please suggest how to achieve the format...
Can you please suggest how to achieve the format change to YYYYMMDDHHMMSS
Forum: Programming 03-08-2017
5,169
Posted By vishal0746
Thanks its working for me.
the code is working for me.Thanks
Forum: Programming 03-07-2017
5,169
Posted By vishal0746
tried below code but its giving command garbled error
$_= system("sed", "s/\([0-9]*\)\/\([0-9]*\)\/\(....\)/\30\10\2/g", "$line");


$line contain the line that i am passing and posted above.
Forum: Programming 03-07-2017
5,169
Posted By vishal0746
Date format change from mm/dd/yyyy to yyyymmdd in comma seperate line in perl
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.

...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy