Questions tagged [advdate]
{advdate} is a package where it is possible to print a date relative to "today".
17
questions
1
vote
1
answer
48
views
advdate and datetime2 with day of week
I'd like to increment the date in the format
[Day of week] [Day] [Month] [Year]
by one each step, but I can't get the day of the week to increment. I've been looking at this answer but I can't get dow ...
2
votes
1
answer
184
views
Using advdate and datetime2
I would like to combine the advdate package for relative dates and the datetime2 package for custom formatting. However, the datetime2 package seems to undo whatever advdate does. I've only found ...
3
votes
1
answer
78
views
Find every weekend in a week: \advdate, \datetime
I am creating my own calendar. That means for each page in my book a day is reserved: dd.mm.yyy (day of week).
Via a foreach loop I change the current date:
\usepackage{advdate}
\usepackage{datetime}
...
0
votes
2
answers
211
views
Offset section currenttime by hours
I want to change timezone in a section of a document. An hour offset from server time would suffice. Using package datetime, how do I add or subtract hours from date \today?
Using advdate and datetime ...
2
votes
1
answer
40
views
Page numbering affected by recursive programming
I asked this question How to do recursive program with latex and got the following excellent answer by @JosephWright
\documentclass{article}
\usepackage{advdate}
% Set the first practice date
\...
1
vote
1
answer
381
views
Date format using `\advdate` package
I tried \renewcommand{\today}{\the\day/\the\month} intendint to change the date format to dd/mm. It didn't work.
I searched for similar questions, but found no answer to my case (I'm using ...
2
votes
1
answer
880
views
How to do recursive program with latex
I am trying to make a schedule for two groups of people who will watch the same experimental lectures at the same laboratory in different dates. I need to skip the holidays. I intend to get something ...
2
votes
1
answer
303
views
advancing dates in a 3-day syllabus
I am trying to adapt this advance date method for a 3-day syllabus without success.
The goal is to create a M-W-F class schedule. The method in the link above is for a two-day schedule. It takes the ...
1
vote
1
answer
351
views
How to advance dates by alternate values
I use the code below to create schedules of weekly lectures (on fridays):
\documentclass{article}
\usepackage{advdate}
%... Set the first lecture date
\ThisYear{2019}
\ThisMonth{3}
\ThisDay{1}
\...
3
votes
3
answers
541
views
How to compare a date with a set of dates
I am creating a schedule for weekly lectures using the following code
\documentclass{article}
\usepackage{advdate}
%... Set the first lecture date
\ThisYear{2019}
\ThisMonth{3}
\ThisDay{1}
\newif\...
1
vote
1
answer
488
views
Set date counter using advdate package
I searched on mathematical operations, and found several interesing results, such as sequence, calculations, and future, among many others.
I am interested in an answer similar to this one, but ...
10
votes
2
answers
727
views
How to calculate future dates based on custom date (e.g. 2018-05-05 + 14 days)?
I want to create invoices for customers in scrlttr2. Hereby I set the document date via \setkomavar{date}{\today}.
I reuse this date with advdate to automatically add a payment deadline into the ...
3
votes
1
answer
1k
views
Advdate in tables does not advance date correctly
I am writing a syllabus that has the course schedule in a table. I am using the \AdvanceDate command in the \advdate package to advance the date by two or five days. This works fine outside a table. ...
3
votes
1
answer
247
views
Date translated to Chinese
The English dates are strings like 1 January 2016. To translated them in Chinese, I use the following way with the help of Date Calculations.
\usepackage{advdate,xparse}
\ExplSyntaxOn
\...
4
votes
1
answer
1k
views
Create sequence of dates in a table
I would like to create a sequence of dates with weekly increments, which should be shown in a table environment.
I've been fiddling around with a code snippet posted in this forum (Generate a ...
6
votes
1
answer
889
views
Calculations with dates
I want to make a table where I describe every week some facts, in two specific days. These days are fixed in the table, but they are selected arbitrarily. I would like to print the dates of each date ...
15
votes
2
answers
7k
views
Advancing \today by x days [duplicate]
New LaTex user here, hoping you can help me.
I am drafting a letter, the submission date of which I do not yet know. For this reason I am dating it using \today. However, in the text of the letter, ...