함수 tomorrow()

tomorrow

1 Bash[ | ]

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

2 Excel[ | ]

=TODAY()+1

3 PHP[ | ]

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

4 SQL[ | ]

4.1 MySQL[ | ]

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

4.2 Oracle[ | ]

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

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}