Python Forum
Wrong or missing date format and time in mails
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrong or missing date format and time in mails
#2
Before you handle with date and time you must be import them.
I am an beginner with python, just i don't know what you try to do,
but here is an code you must start with...

# Import datetime before you handle with this
from datetime import datetime

# Here your code
Is this the problem ?... but further... i can't help you.
I am learn python and i am pure beginner with this languale.

Try my code... maby this the problem.

Jamie.
Reply


Messages In This Thread
RE: Wrong or missing date format and time in mails - by JamieVanCadsand - Aug-08-2017, 12:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] [datetime.strptime] ValueError: time data 'foo' does not match format 'bar' Winfried 1 1,193 Jan-02-2025, 02:09 AM
Last Post: lyly19
Exclamation Date format convert problem for SQL server eotret 5 2,000 Aug-09-2024, 07:19 AM
Last Post: Pedroski55
  Invalid Date Format fo Cached Files jland47 1 984 May-22-2024, 07:04 PM
Last Post: deanhystad
  Compare current date on calendar with date format file name Fioravanti 1 1,948 Mar-26-2024, 08:23 AM
Last Post: Pedroski55
  Date Time Series Help...Please spra8560 2 1,236 Feb-01-2024, 01:38 PM
Last Post: spra8560
  Python date format changes to date & time 1418 4 2,607 Jan-20-2024, 04:45 AM
Last Post: 1418
  Downloading time zone aware files, getting wrong files(by date))s tester_V 9 2,767 Jul-23-2023, 08:32 AM
Last Post: deanhystad
  Formatting a date time string read from a csv file DosAtPython 5 4,994 Jun-19-2023, 02:12 PM
Last Post: DosAtPython
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 5,085 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  Modifying a date format jehoshua 17 5,883 Oct-29-2022, 08:44 PM
Last Post: jehoshua

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020