私は、文字列を持っている「ハロー真ん中に月を置くことによって、2017年4月24日から日付を変更してください」私は「ハロー24/04/2017から日付を変更してくださいするために、これを変更する必要が文字列内の日付の日付書式を変更するにはどうすればよいですか?
class Paragraph:
@staticmethod
def change_date_format(paragraph):
return None
print(Paragraph.change_date_format('Hello please change the date from 04-24-2017 by putting month in the middle'))
真ん中」に月を入れて
問題の内容がわからない – Alex
[https://stackoverflow.com/questions/14524322/how-to-convert-a-date-string-to-different-format](https:/)のリンクを参照してください。 /stackoverflow.com/questions/14524322/how-to-convert-a-date-string-to-different-format) – dmp
「Hello today is 07/14/2017」という文があります。私はこれを "こんにちは今日は14/07/2017"に変更しなければなりません。 @Alex –