http://code.google.com/p/datejs/
Syntax Overview
Date.today() // Returns today's date, with time set to 00:00 (start of day).
Date.today().next().friday() // Returns the date of the next Friday.
Date.today().last().monday() // Returns the date of the previous Monday.
new Date().next().march() // Returns the date of the next March.
new Date().last().week() // Returns the date one week ago.
Date.today().is().friday() // Returns true|false if the day-of-week matches.
Date.today().is().fri() // Abbreviated day names.
Date.today().is().november() // Month names.
Date.today().is().nov() // Abbreviated month names.
Date.today().is().weekday() // Is today a weekday?
Date.today().addDays(1) // Add one day (+1).
Date.today().addMonths(-3) // Subtract three months (-3).
Date.today().add(1).day() // Add one (+1) day. Supports all date parts (year, month, day, hour, minute, second, millisecond, and weeks)
Date.today().add(-3).months() // Subtract three (-3) months.
(1).day().fromNow() // One (1) day from now.
(3).months().ago() // Three (3) months ago.
var n = 6;
n.months().fromNow() // Six (6) months from now.
Date.monday() // Returns Monday of the current week.
Date.mon() // Abbreviated version of Date.monday()
Date.march() // Returns March 1st of this year.
Date.mar() // Abbreviated version of Date.march()
Date.today().first().thursday() // Returns the first Thursday of the current month.
Date.today().second().thursday()// Returns the second Thursday of the current month.
Date.march().third().thursday() // Returns the third Thursday in March of the current year.
Date.october().fourth().sunday()// Returns the fourth Sunday in October.
Date.today().fifth().sunday() // Returns the fifth Sunday in the current month, or throws a RangeError exception if there are not 5 Sundays in the current month.
Date.october().final().sunday() // Returns the final Sunday in October.
Date.january().first().monday() // Returns the first Monday of the current year.
Date.december().final().friday()// Returns the last Friday of the current year.
Date.today().at("6:15pm"); // Returns todays date at 6:15pm.
var time = {hour:18, minute:15};
Date.today().at(time); // Set time with a config object.
var birthDayParty = {month: 1, day: 20, hour: 20, minute: 30};
Date.today().set(birthDayParty);// Set date and time with a config object.
댓글 3개
14년 전
오... 멋진데요 이건... php로 누가 안만들어주려나요???
14년 전
이걸 왜 php로 만들어요;;
다 있어요.
다 있어요.
14년 전
음..좋네요..~
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 3530 | 14년 전 | 910 | ||
| 3529 | 14년 전 | 1128 | ||
| 3528 |
|
14년 전 | 1336 | |
| 3527 | 14년 전 | 1184 | ||
| 3526 |
|
14년 전 | 887 | |
| 3525 | 14년 전 | 1177 | ||
| 3524 | 14년 전 | 1399 | ||
| 3523 | 14년 전 | 1365 | ||
| 3522 | 14년 전 | 910 | ||
| 3521 | 14년 전 | 2092 | ||
| 3520 |
|
14년 전 | 430 | |
| 3519 | 14년 전 | 1053 | ||
| 3518 | 14년 전 | 900 | ||
| 3517 |
다케미카코
|
14년 전 | 745 | |
| 3516 |
|
14년 전 | 1237 | |
| 3515 |
NS미디어
|
14년 전 | 1672 | |
| 3514 | 14년 전 | 1028 | ||
| 3513 |
FreeZone
|
14년 전 | 817 | |
| 3512 |
|
14년 전 | 820 | |
| 3511 | 14년 전 | 1085 | ||
| 3510 | 14년 전 | 1379 | ||
| 3509 | 14년 전 | 1476 | ||
| 3508 | 14년 전 | 545 | ||
| 3507 | 14년 전 | 1090 | ||
| 3506 |
|
14년 전 | 981 | |
| 3505 | 14년 전 | 1007 | ||
| 3504 | 14년 전 | 1729 | ||
| 3503 |
letsgolee
|
14년 전 | 1495 | |
| 3502 | 14년 전 | 1376 | ||
| 3501 | 14년 전 | 1136 | ||
| 3500 | 14년 전 | 1148 | ||
| 3499 | 14년 전 | 1760 | ||
| 3498 |
리눅스초보100
|
14년 전 | 792 | |
| 3497 |
네비플러스
|
14년 전 | 576 | |
| 3496 |
도와주세요
|
14년 전 | 838 | |
| 3495 | 14년 전 | 814 | ||
| 3494 | 14년 전 | 1315 | ||
| 3493 | 14년 전 | 1571 | ||
| 3492 | 14년 전 | 1331 | ||
| 3491 | 14년 전 | 946 | ||
| 3490 | 14년 전 | 1017 | ||
| 3489 | 14년 전 | 1101 | ||
| 3488 | 14년 전 | 2841 | ||
| 3487 |
JMoon
|
14년 전 | 1025 | |
| 3486 | 14년 전 | 1693 | ||
| 3485 | 14년 전 | 1310 | ||
| 3484 | 14년 전 | 946 | ||
| 3483 | 14년 전 | 2231 | ||
| 3482 |
photolate
|
14년 전 | 2654 | |
| 3481 | 14년 전 | 760 | ||
| 3480 | 14년 전 | 1000 | ||
| 3479 | 14년 전 | 1885 | ||
| 3478 |
|
14년 전 | 2271 | |
| 3477 | 14년 전 | 1331 | ||
| 3476 | 14년 전 | 1470 | ||
| 3475 | 14년 전 | 807 | ||
| 3474 | 14년 전 | 1118 | ||
| 3473 | 14년 전 | 1117 | ||
| 3472 | 14년 전 | 1876 | ||
| 3471 | 14년 전 | 1141 | ||
| 3470 | 14년 전 | 816 | ||
| 3469 | 14년 전 | 914 | ||
| 3468 | 14년 전 | 219 | ||
| 3467 | 14년 전 | 961 | ||
| 3466 | 14년 전 | 874 | ||
| 3465 | 14년 전 | 889 | ||
| 3464 |
스카이워커
|
14년 전 | 1428 | |
| 3463 | 14년 전 | 2306 | ||
| 3462 | 14년 전 | 1359 | ||
| 3461 | 14년 전 | 1135 | ||
| 3460 |
New악마
|
14년 전 | 1519 | |
| 3459 | 14년 전 | 769 | ||
| 3458 | 14년 전 | 773 | ||
| 3457 | 14년 전 | 1030 | ||
| 3456 | 14년 전 | 1258 | ||
| 3455 | 14년 전 | 890 | ||
| 3454 | 14년 전 | 1174 | ||
| 3453 | 14년 전 | 1803 | ||
| 3452 | 14년 전 | 784 | ||
| 3451 | 14년 전 | 1116 | ||
| 3450 | 14년 전 | 1136 | ||
| 3449 | 14년 전 | 843 | ||
| 3448 | 14년 전 | 856 | ||
| 3447 | 14년 전 | 1242 | ||
| 3446 | 14년 전 | 1726 | ||
| 3445 | 14년 전 | 1628 | ||
| 3444 | 14년 전 | 1536 | ||
| 3443 |
|
14년 전 | 911 | |
| 3442 | 14년 전 | 1106 | ||
| 3441 | 14년 전 | 940 | ||
| 3440 |
바인플러스
|
14년 전 | 825 | |
| 3439 | 14년 전 | 2018 | ||
| 3438 | 14년 전 | 1287 | ||
| 3437 |
New악마
|
14년 전 | 1226 | |
| 3436 |
카프카07
|
14년 전 | 1287 | |
| 3435 |
|
14년 전 | 1511 | |
| 3434 |
|
14년 전 | 874 | |
| 3433 | 14년 전 | 1651 | ||
| 3432 | 14년 전 | 3944 | ||
| 3431 | 14년 전 | 1881 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기