Search Results

Search: Posts Made By: asriva
16,730
Posted By asriva
Thanks alot for your help. This is pretty close,...
Thanks alot for your help. This is pretty close, but I think this gets tricky if you select fields based on rows/fields (which is what you are doing). Here you are picking 2nd Saturday of Mar and 1...
16,730
Posted By asriva
If the date is in DST (ie between 2nd Sunday of...
If the date is in DST (ie between 2nd Sunday of Mar and 1 sunday of November, both inclusive) then the function should return 1, else 0.
16,730
Posted By asriva
Determine if given date is in DST
Is there a way to figure out if given date is in DST or in EST? So imagine a shell script is_date_dst.sh

sh is_date_dst.sh 2009-03-02 would return 0 and
sh is_date_dst.sh 2009-03-22 would return...
4,610
Posted By asriva
Scottn, thanks for your reply. It pretty...
Scottn,

thanks for your reply. It pretty much does the work. But I noticed two issues:

1) All the delimiters in the file "," are gone!

2) I see why you need to replace "/" with an "_" since...
4,610
Posted By asriva
split large file based on field criteria
I have a file containing date/time sorted data of the form
...
2009/06/10,20:59:59.950,XAG/USD,Q,1,1115, 14.3025,100,1,1
2009/06/10,20:59:59.950,XAG/USD,Q,1,1116, 14.3026,125,1,1...
Showing results 1 to 5 of 5

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