time tag

55 questions


1 answers
92 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...

2 years ago

1 answers
133 views
0
What is the lifetime of the static variable in the c++ function?

As far as I know, the static variable defined in the scope of the function is initialized only once and remains even after the function endsWhat is the exact lifetime?When exactly are the constructors...

2 years ago

1 answers
114 views
0
I want to know the current time in Python

Is there a module or function that tells you the current time?

2 years ago

1 answers
114 views
0
How to take a picture of Unix timestamp in 5 minutes

Based on now, we are creating a expires() function that returns Unix timestamp in 5 minutes.I didn't know what to do, so I made it like C++Is there a more Python way?Please help me if you know the mod...


1 answers
81 views
0
[C language] Time calculation question. How to tell after 10 seconds.

#include <stdio.h>#include <time.h>int main(void){ time_t start, end; long i=0; double pst; start = time(NULL); while(i<30000000) { i++; } end=time(NULL); pst=difftime(end, start); pri...

2 years ago

2 answers
90 views
0
Please help me to re-form the data frame after counting the number of python data frames under certain conditions.

df = pd.DataFrame([data])The structure of the data table that comes out when you print df in is as follows.The code is recorded for each date, and I'd like to distinguish how many codes 3 and how many...


1 answers
142 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
114 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

2 answers
107 views
0
I want to know how to execute the conditions over time in Python.

I learned Python for the first time and started working on a project. There are still many things I don't know, so it's a meaningful activity to try, but I'm asking you because it's not progressing an...

2 years ago

1 answers
104 views
0
C Unusual result values for rows/columns in a rudimentary two-dimensional array

After making a two-dimensional array using random numbers,A program that outputs an array in a two-dimensional table after obtaining the sum of each row and each column.But if you compare the table wi...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.