date tag

39 questions


1 answers
106 views
0
I'm studying basic Python. I have a question

We are trying to create an age notification system using the difference between dates. But the date mark that I've known so far is date mark like this (2019, 11, 30) through the date grave. But I want...

1 years ago

2 answers
42 views
0
Enter the date of the Python code that tells the day of the week.

I'm working on a code that tells me the day of the week when I write the date.First of all,import datetime def print_whichday(year,month,date)r=[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday,...

1 years ago

1 answers
43 views
0
How do I add a date to DateTime?

I want to add a date to the current DateTime in JavaScript, what should I do? Is there a function that JavaScript uses like AddDay on the dot net?

1 years ago

1 answers
78 views
0
This is a question related to date and time when implementing a bulletin board post.

SimpleDateFormat qqqq = new SimpleDateFormat(yyyy-MM-dd HH:mm:ss); SimpleDateFormat zxcv = new SimpleDateFormat(yyyy-MM-dd'T'HH:mm:ss.SSS'Z'); zxcv.setTimeZone(TimeZone.getTimeZone(UTC)); final Date z...

1 years ago

1 answers
101 views
0
I'd like to make a date graph

I even made a series of Python counting by date Now, I want to draw a graph of the series in terms of the x-axis and the y-axis in terms of the number Help meThe date form is 2003-12-31 15:34:07.200, ...

1 years ago

1 answers
46 views
0
How to replace a string with a date format in Java.

String date_s = 2011-01-18 00:00:00.0;I want to change these strings from Java to Date and print them out in YYYY_MM_DD format, but what should I do?String date_s = 2011-01-18 00:00:00.0; SimpleDateF...

1 years ago

1 answers
130 views
0
How do I change a string like "0/0" to a date form?

I'd like to change strings such as January 20th to a date form, but I think it'll be difficult to use strptime() because the form has no zeros in front of it like July 4th.Can't we simply change strin...


1 answers
101 views
0
To change a character to a time form in Python

Hello.Python used an external api to call up the time3m 32s and 1h 23m 6s are written like this.How do I change it to separate it into a colon by two digits like 00:03:32 and 01:23:06?It's kind of vag...

2 years ago

1 answers
91 views
0
Differences between Python datetime and result values according to date class changes

It's a program that measures the time left until Christmas.import datetime as dta=dt.datetime.today()print(f) Today is {a.the month of the yearIt's day}.')xmas=dt.date(2022,12,25)su=xmas - dt.datetime...

2 years ago
« - 4 -

© 2024 OneMinuteCode. All rights reserved.