1:本月第一天 select trunc(add_months(last_day(sysdate), -1) + 1) from dual select trunc(sysdate,'mm') from dual; 2:本月最后一天 select trunc(last_day(sysdate)) f ...
分类:
数据库 时间:
2018-03-19 16:54:02
阅读次数:
224
/*年月+1算法 By Terry*/function yearMonthAddOne($yearMonth){ $year = substr($yearMonth,0,4); $month = substr($yearMonth,4); if($month!=12){ $month = $mont ...
分类:
其他好文 时间:
2018-03-08 12:07:40
阅读次数:
203
layout: default title: Joda Time 使用 category: [工具, Java] comments: true Joda Time 使用 对于系统的一些时间操作很是不方便,为了方便转化,有时候用date,有时候用timestmp,有时候用calendar,忍不住想更改 ...
分类:
其他好文 时间:
2018-03-06 14:44:32
阅读次数:
242
money = input('输入多少钱:') months = input('还几个月:') try: res = calc(int(money),int(months)) except ZeroDivisionError as e: #try里面的代码如果出错了,走except里面的代码 tra... ...
分类:
编程语言 时间:
2018-03-01 23:39:45
阅读次数:
211
January February March April May June July August September October November December ...
分类:
其他好文 时间:
2018-02-25 17:29:21
阅读次数:
131
案例分析:Prosper是美国的一家P2P在线借贷平台,网站撮合了一些有闲钱的人和一些急用钱的人。用户若有贷款需求,可在网站上列出期望数额和可承受的最大利率。潜在贷方则为数额和利率展开竞价。 本项目拟通过该数据集的探索,结合自己的理解进行分析,最终目的的是初步预测哪些人贷款后会还款、哪些人会赖账。 ...
分类:
编程语言 时间:
2018-02-25 01:09:28
阅读次数:
1502
1 def calc(a,b): 2 res=a/b 3 return res 4 def main(): 5 money=input('输入多少钱:') 6 months=input('还几个月:') 7 try: 8 res=calc(int(money),int(months)) 9 exce... ...
分类:
编程语言 时间:
2018-02-24 18:01:22
阅读次数:
204
java.time.Period: This class represents the date part of the datetime. It represents the date part in terms of days, months and years. for example 1 y ...
分类:
编程语言 时间:
2018-02-12 18:43:52
阅读次数:
226
# import traceback# import pymysql# def calc(a, b):# res = (a / b)# return res### def main():# money = input('输入多少钱:')# months = input('还几个月:')# try:# ...
分类:
编程语言 时间:
2018-02-09 20:52:01
阅读次数:
168
import urllib.parses='besttest 自动化测试'print(urllib.parse.quote(s)) #url编码print(urllib.parse.quote_plus(s)) #url编码,src='https://www.baidu.com/s?wd=bestt ...
分类:
编程语言 时间:
2018-02-05 23:32:03
阅读次数:
207