{"id":2026,"date":"2023-03-25T14:33:59","date_gmt":"2023-03-25T06:33:59","guid":{"rendered":""},"modified":"2023-03-25T14:33:59","modified_gmt":"2023-03-25T06:33:59","slug":"Bootstrap datetimepicker","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/2026.html","title":{"rendered":"Bootstrap datetimepicker"},"content":{"rendered":"
\n
<html lang=\"en\"<\/span>>\n<head>\n <title> Example of Bootstrap Timepicker <\/title> \n <link href=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/3.3.6\/css\/bootstrap.min.css\"<\/span> rel=\"stylesheet\"<\/span><\/span>>\n <script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.9.1\/jquery.js\"<\/span>><\/script>\n <script src=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/3.3.6\/js\/bootstrap.min.js\"<\/span>><\/script> \n <script type=\"text\/javascript\"<\/span> src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/moment.js\/2.9.0\/moment.min.js\"<\/span>><\/script>\n <link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-datetimepicker\/4.17.37\/css\/bootstrap-datetimepicker.min.css\"<\/span> rel=\"stylesheet\">\n <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-datetimepicker\/4.17.37\/js\/bootstrap-datetimepicker.min.js\"<\/span>><\/script> \n<\/head>\n<body>\n<div class=\"container\"<\/span> style=\"margin-top: 20px\"<\/span>>\n <div style=\"position: relative\"<\/span>>\n <input class=\"form-control\"<\/span> type=\"text\"<\/span> id=\"time\"<\/span>\/>\n <\/div>\n<\/div>\n<script>\n $('#time'<\/span>).datetimepicker<\/span>({<\/span>\n format: 'HH:mm'<\/span>\n });\n<\/script>\n<\/body>\n<\/html><\/pre>\n<\/code>\n <\/div>\n
\n \u6267\u884c\u4e0a\u8ff0\u4ee3\u7801\u65f6\uff0c\u6211\u4eec\u5c06\u770b\u5230\u4ee5\u4e0b\u8f93\u51fa:\n <\/div>\n
<\/p>\n
\n <\/body>
\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"Bootstrap datetimepickerzh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163],"tags":[],"class_list":["post-2026","post","type-post","status-publish","format-standard","hentry","category-bootstrapjc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/2026"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=2026"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/2026\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=2026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=2026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=2026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}