• Register

Recent questions tagged datetime

0 votes
1 answer 6 views
Problem: Write a Python program to get next day of a given date.Date is provided as day, month and year The input provided is always valid. Output should be day-month-year. Hint: print(day,"-",month,"-",year) will display day-month-yearAlso identify the test data and use it to test the program.
asked 5 days ago Mashhoodch 6.6k points
0 votes
1 answer 12 views
Problem: I am struggling to show the next leap year. I have my initial leap year. What and where should I code? Conclusion: 2016 is a leap year. 2020 is a leap year following 2016. import java.util.Scanner; public class LabProgram { public static void main(String[] args) { Scanner ... .println(inputYear + " is a leap year."); } else { System.out.println(inputYear + " is not a leap year."); } }}
asked Dec 20, 2020 sasha 6.4k points
0 votes
1 answer 37 views
Can anyone please explain to me how to do the following conversion in detail. I need a detailed example for this question, so that I can understand.
asked Dec 17, 2020 ZarinaShaik 320 points
0 votes
1 answer 12 views
Convert Julian date to calendar date in SQL I have searched but I can't seem to find a way to convert Julian to yyyy-mm-dd.
asked Dec 3, 2020 miki 1.9k points
0 votes
1 answer 19 views
Problem: How can I get the name of the month from the month number? For example, if I have 3, I want to returnmarch date.tm_month() How do I get the string march?
asked Dec 1, 2020 sasha 6.4k points
0 votes
1 answer 28 views
Problem: Hi, i am learning php time and date format and i want to learn how to set default date time zone. I wan someone to explain the date_default_timzone_set function.
asked Nov 8, 2020 prog_learner 2.5k points
0 votes
1 answer 20 views
Problem: Hi, everyon i am looking for someone to solve my date format problem. I have date which is in this format "3-11-2020" and i wan to convert this into y/m/d format. If you provide expanation of different date function,it will be more helpful to me.
asked Nov 4, 2020 prog_learner 2.5k points
1 vote
1 answer 22 views
I am new to this. I just want to know how to do that?
asked Nov 3, 2020 TeamScript 11.1k points
0 votes
1 answer 6 views
Problem: I want to get month and year from date in SQL SERVER. I do not know how to do that. If someone could help me, it would be appreciated. Thanks
asked Oct 19, 2020 Code Learner 5.5k points
0 votes
1 answer 8 views
0 votes
1 answer 275 views
How to convert non-finite calues to integer?
asked Sep 22, 2020 Daniel Anderson 4k points
1 vote
1 answer 30 views
What does CultureInfo.InvariantCulture mean? How to Convert String to DateTime?How to 2020-09-22 12:57:52,531Class string converted to DateTime ?
asked Sep 21, 2020 Aliza313 720 points
0 votes
1 answer 16 views
0 votes
1 answer 273 views
Problem: I have very good knowledge of r, ggplot and unix. I am now a days trying to analyze the dataset of the GSR values. I had first transformed my all the required unix values into the readable data and after that I created the plot of my GSR values in the ... . But I had already supplied the origin when I tried to transform my unix into the readable data and also again in the ggplot code.
asked Jul 27, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 13 views
Problem: I tried to get the output for the format date mm/dd/yyyy, So I wrote this program: import pandas as pd import re df = pd.read_csv('path of csv file') coorpus = [] for i in range(0,df.shape[0]): x = df.iloc[i]['OrderTime'] if re.search(r'\d{2}/\d ... append(y) else: y=["00/00/0000"] coorpus.append(y) print(coorpus) But I did not get the actual result. Can anyone help me to get this format?
asked May 12, 2020 samhaz 5k points
1 vote
1 answer 18 views
Problem: I was trying to validate date and time using regex in python so I wrote this code: import pandas as pd import re df = pd.read_csv('path of csv file') coorpus = [] for i in range(0,df.shape[0]): x = df.iloc[i]['OrderTime'] if re.search(r'\d{2}/\d ... of string that contains date and time but I am not getting the actual result. I need the regex for m/dd/yyyy and mm/d/yyyy. Can anyone help?
asked Apr 5, 2020 LizzyM 6.1k points
0 votes
1 answer 39 views
My programme: import pandas as pd import re df = pd.read_csv('path of csv file') corpus = [] for i in range(0,df.shape[0]): x = df.iloc[i]['OrderTime'] if re.search(r'\d{2}/\d{2}/\d{4}',x): ### for mm/dd/yyyy y= re.findall(r'\d{2} ... programme consits of coloumn that consits of string that contains date and time but I am not getting the actual result. I need the regex for m/dd/yyyy and mm/d/yyyy.
asked Mar 8, 2020 sstones 830 points