1. 取得当天

1
2
3
4
5
6
mysql> SELECT curdate();
+------------+
| curdate() |
+------------+
| 2013-07-29 |
+------------+

2. 取得当前日期

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mysql> select sysdate();
+---------------------+
| sysdate() |
+---------------------+
| 2016-05-30 13:58:17 |
+---------------------+
1 row in set

mysql> select now();
+---------------------+
| now() |
+---------------------+
| 2016-05-30 13:58:29 |
+---------------------+
1 row in set
阅读全文 »

1
2
3
public static void main(String args[]){
System.out.println("hello world");
}

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Title - Artist
0:00