MCPcopy Create free account
hub / github.com/WesleyDevLab/cheetah / get_start_date

Function get_start_date

utils.py:19–56  ·  view source on GitHub ↗

获取n天前的日期 now = datetime.now() print now.strftime('%Y-%m-%d') strNow = '2012-01-03' nowDate = time.strptime(strNow, "%Y-%m-%d") %a 星期几的简写 Weekday name, abbr. %A 星期几的全称 Weekday name, full %b 月分的简写 Month name, abbr. %B 月份的全称 Month name, full %c 标准的日期的时间串 Com

(n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected