함수 date2epochdate()

함수 date2epochdate()

1 Bash[편집]

echo "`date -d 1970-01-01 +%s`/86400" | bc
# 0
echo "`date -d 2001-01-01 --utc +%s`/86400" | bc
# 11323
echo "`date -d 2024-10-04 --utc +%s`/86400" | bc
# 20000

2 같이 보기[편집]

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