함수 tomorrow()

tomorrow

1 Bash[ | ]

Bash
Copy
TOMORROW="$(date -d 'tomorrow' +%Y-%m-%d)"
echo $TOMORROW

2 Excel[ | ]

PHP
Copy
=TODAY()+1

3 PHP[ | ]

PHP
Copy
$tomorrow = date("Y-m-d", strtotime("+1 day"));
PHP
Copy
$tomorrow = date("Y-m-d", strtotime("tomorrow"));
PHP
Copy
$tomorrow = date("Y-m-d", time() + 86400);

4 SQL[ | ]

4.1 MySQL[ | ]

MySQL
Copy
SELECT ADDDATE(CURDATE(),1);
SELECT SUBDATE(CURDATE(),-1);
# 2013-03-15
MySQL
Copy
SELECT ADDDATE(CURRENT_DATE, 1);
SELECT ADDDATE(SYSDATE(),1);
# 2013-03-15 12:11:31

4.2 Oracle[ | ]

sql
Copy
SELECT to_char(NEXT_DAY(SYSDATE,1),'YYYY-MM-DD') FROM DUAL;

5 같이 보기[ | ]

6 참고[ | ]