Sponsored Content
Full Discussion: Add a day to a given date
Top Forums UNIX for Dummies Questions & Answers Add a day to a given date Post 302209355 by pallet on Thursday 26th of June 2008 04:12:02 PM
Old 06-26-2008
NO luck

I searched FAQ but cldnt find anything which matches my req
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting day from a date...

Hi, I have a date input in MMDDYYYY format.. I have to give the day (whether that DD is sunday/monday...) Is there any command for it... Or do I have to write a script for that... Thanks in Advance Yeheya (1 Reply)
Discussion started by: yeheyaansari
1 Replies

2. UNIX for Dummies Questions & Answers

date - 1 day

Hi, I have been trying just about every unix command to come up with yesterday's date (today's date - 1). I have seen all of the help on this forum, and none of it seems to work for me here. We are using Sun Solaris 9 Unix. I am using this script to create a .txt file with ftp commands that I will... (2 Replies)
Discussion started by: sfedak
2 Replies

3. Shell Programming and Scripting

how to obtain date and day of the week from `date` command

Hi, does anybody know how to format `date` command correctly to return the day of the week? Thanks -A I work in ksh.... (1 Reply)
Discussion started by: aoussenko
1 Replies

4. UNIX for Dummies Questions & Answers

Getting date -1 day not using GNU date

It's easy as pie to get the date minus one day on opensolaris: date -d "-1 day" +"%Y%m%d"run this command on our crappy Solaris 10 machines however (which I'm guessing doesn't have GNU date running on it) and you get: date: illegal option -- d date: illegal option -- 1 date: illegal option --... (5 Replies)
Discussion started by: rich@ardz
5 Replies

5. Shell Programming and Scripting

finding the previous day date and creating a file with date

Hi guys, I had a scenario... 1. I had to get the previous days date in yyyymmdd format 2. i had to create a file with Date inthe format yyyymmdd.txt format both are different thanks guys in advance.. (4 Replies)
Discussion started by: apple2685
4 Replies

6. Shell Programming and Scripting

How to add day of week at the end of each line that shows the date?

I have a file that looks like: file1: www_blank_com 20121008153552 www_blank_com 20121008162542 www_blank_com 20121009040540 www_blank_com 20121009041542 www_blank_com 20121010113548 www_blank_com 20121011113551 www_blank_com 20121012113542 I want the new file to show the day of... (3 Replies)
Discussion started by: castrojc
3 Replies

7. Shell Programming and Scripting

Day before yesterday's date

Hello All, I am writing a script in Sun Solaris I want the date for "day before yesterday", i got the yesterday's date by this command TZ=GMT+24 date +%b" "%d. Please suggest me some code to get the date for day before yesterday (6 Replies)
Discussion started by: anand2308
6 Replies

8. AIX

Need to get the next day's date of the user entered date

I need to get the next day's date of the user entered date for example: Enter date (yyyy/mm/yy): 2013/10/08I need to get the next day's date of the user entered date Desired Output: 2013/10/09Though there are ways to achieve this is Linux or Unix environment (date command) ,I need to... (1 Reply)
Discussion started by: rpm120
1 Replies

9. Shell Programming and Scripting

Need to minus one day from a date given

Hello Folks, I have a variable output holding date as below - output = "20141220" I need to extract a day out of it and store it in another variable i.e. something similar to below - output1=20141219" and if the month is changing i.e. date in on 31st or 1st it should be taken care of "date... (5 Replies)
Discussion started by: ektubbe
5 Replies

10. UNIX for Beginners Questions & Answers

Replace date in file every day with current date

I Have text like XXX_20190908.csv.gz need to replace Only date in this format with current date every day Thanks! (1 Reply)
Discussion started by: yamasani1991
1 Replies
CUBRID_GET_QUERY_TIMEOUT(3)						 1					       CUBRID_GET_QUERY_TIMEOUT(3)

cubrid_get_query_timeout - Get the query timeout value of the request

SYNOPSIS
int cubrid_get_query_timeout (resource $req_identifier) DESCRIPTION
The cubrid_get_query_timeout(3) function is used to get the query timeout of the request. PARAMETERS
o $req_identifier -Request identifier. RETURN VALUES
Success: the query timeout value of the current request. Units of msec. Failure: FALSE EXAMPLES
Example #1 cubrid_get_query_timeout(3) example <?php $host = "localhost"; $port = 33000; $db = "demodb"; $conn = cubrid_connect_with_url("CUBRID:$host:$port:$db:::?login_timeout=50000&query_timeout=5000&disconnect_on_query_timeout=yes"); $req = cubrid_prepare($conn, "SELECT * FROM code"); $timeout = cubrid_get_query_timeout($req); var_dump($timeout); cubrid_set_query_timeout($req, 1000); $timeout = cubrid_get_query_timeout($req); var_dump($timeout); cubrid_close($conn); ?> The above example will output: int(5000) int(1000) SEE ALSO
cubrid_set_query_timeout(3). PHP Documentation Group CUBRID_GET_QUERY_TIMEOUT(3)
All times are GMT -4. The time now is 02:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy