# Questions tagged [date-and-time]

Questions about Mathematica's date and time functions.

544 questions
Filter by
Sorted by
Tagged with
119 views

### TimeLine Plot of Every Historical Country/Empire - how to control y axis

I'm trying to see if Mathematica can make a similar timeline to this. Specifically, note that the y axis of the graphic is based on current countries. I'd like to make a Timelineplot where I can ...
• 4,558
1 vote
54 views

### Plot time (hours, minutes, seconds) along y axis

I would like to plot time (in hours, minutes, seconds) on the ordinate and date on the abscissa, much as in this answer, but I don't want to convert the abscissa values to a single unit (e.g., seconds)...
• 41.8k
1 vote
57 views

### Mathematica 13.1 - New Cell Options

I have been using Mathematica for many years now and never encountered anything like that. My version is 13.1. In one of my notebooks, I must have clicked some shortcut by mistake, and now the new ...
61 views

### How to access the Wolfram Data Repository

How I can obtain the raw data of different epidemics in different viruses such as COVID-19, ebola, influenza, etc.? I consulted the site but I can't figure out how to extract the data in real time to ...
• 1
67 views

### Highlight dates in DateListStepPlot

I have some data that spans across a whole year from January 8 to December 31, 2023: ...
• 1,534
182 views

### DayPlus seems to not work consistently with dates given as a DateObject

Counting days and coming up with reliable date calculations is rather essential in legal and financial applications. Unfortunately, it seems that DayPlus does not ...
• 13.5k
38 views

• 1,169
141 views

### Solving a system of equations takes too long [closed]

I was trying to solve a system of 4 equations with Mathematica but it took too long (running for hours) without any output. I have tried many ways without any success. I need your help. Thank you in ...
• 21
176 views

### Select elements of a list based on membership in another list

I have two lists: ...
• 1,303
148 views

### How can I tell the WL auto-magic date interpreter to use a day-first interpretation if there is ambiguity?

I know you can use DateObject[{"05-08-2022", {"Day", "Month", "Year" }}] to tell WL the date format explicitly, but a rigid ...
• 24k
57 views

### DayMatchQ Alternative day name specification

Not clear from DayMatchQ doc page but doesn't seem to work for say alternatives the way MatchQ does, eg ...
• 15.2k
77 views

### List structure for plotting multiple y-values (with gaps on certain dates) using DateListPlot

I would like to set up a list like this data = {{Date1,y1,y2,y3,y4,y5,y6},{Date2,y1,y2,y3,y4,y5,y6},...} and then use DateListPlot to create various plots, e.g. y1 ...
118 views

### Reduce granularity and remove options from a DateObject

I have a DateObject with lots of granularity and additional specifications, such as the following e.g.: ...
57 views

### Can I use Timeseries of a Data to plot the ARCHProcess?

So, I have a list s={Timeseries1,Timeseries2,Timeseris3} I want to Plot a graph just like :Mathematica I tried to do this but I didn't understand some parts of the ...
195 views

### What's the reverse of DateValue[..., "YearExact"]?

DateValue[..., "YearExact"] can be used to get a date as an non-integer year. This can be useful for some quick, not necessarily too precise calculations ...
• 19.1k
1 vote
212 views

### AbsoluteTime::ambig: Warning: the interpretation of the string 11-12-2020 as a date is ambiguous

TScci30clean = TimeSeries[cci30clean[[2 ;;]]] I dont understand why this shows an error ,i have changed the date format twice in excel sheet that im working on ...
55 views

### Why is the DateInterval not handling disjoint periods correctly?

Consider the following as an example: ...
• 9,523
75 views

### How do I import a file only when it is modified?

I am trying to create a Dynamic code that will Import the contents of file only if it has been modified. I tried the following ...
• 9,523
131 views

### Changing callout sizes in TimelinePlot

I have a large, complex TimelinePlot in which the callout bubbles are too large, as shown here: I'm happy with the font size and layout, but the bounding panes should be reduced (vertically) by a ...
• 41.8k
1 vote
85 views

### Federal Reserve Interest Rate Data has years with differing number of weeks

I need to compute annual mean interest rates from public data. FRED mortgage rate data (available here: https://fred.stlouisfed.org/series/MORTGAGE30US) when downloaded as an Excel file, Imports as ...
• 940
138 views

### How to import CSV file with mixed data, including string Mathematica expressions and numbers

I am importing a CSV file that looks like this (Extract of data as viewed in Notepad): ...
• 93
76 views

• 479
89 views

### Format Time Reported by AbsoluteTiming

I am trying to format the timing reported by AbsoluteTiming so that it states the hours minutes and seconds of the result. However, probably because ...
• 1,991