w3resource
w3resource logo

Python: strftime()

(追記) (追記ここまで)
(追記) (追記ここまで)

strftime()

The strftime() function returns a string representing the date, controlled by an explicit format string. Format codes referring to hours, minutes or seconds will see 0 values.

Syntax:

date.strftime(format)

Complete list of formatting with examples:

[フレーム]

Download the Notebook from here.

PREV : Python String Formatting
NEXT : Python Lists

Test your Python skills with w3resource's quiz



Follow us on Facebook and Twitter for latest update.

(追記) (追記ここまで)


(追記) (追記ここまで)
(追記) (追記ここまで)


AltStyle によって変換されたページ (->オリジナル) /