Questions tagged [date]

The tag has no usage guidance.

1
vote
1answer
25 views

Using a variable for BIBER DATE value produces blank date in output

I'm using MikTex with biber \usepackage[backend=biber,natbib=true,style=numeric,sorting=none]{biblatex} and I want to use a variable for the date value, but it does not provide any output. I set up ...
0
votes
1answer
34 views

How to change date to different language in a letter [duplicate]

I am using the following template in order to create a letter \documentclass[version=last]{scrlttr2} \usepackage[ngerman]{babel} \begin{document} \begin{letter}{ Petra Mustermann\\ Vor dem Berg ...
0
votes
1answer
21 views

putting the date below the name

\documentclass[a4paper,10pt,demo]{article} % \usepackage[en-US]{datetime2} % <======================================= \DTMlangsetup[en-US]{ord=raise} \usepackage{etoolbox} % <=========...
1
vote
1answer
27 views

Generate schedule planner between two given dates

I am trying to generate a table with the following format: I am looking for a way to generate the dates given the initial week (In this case Jun 3 - 7) I tried using the package datenumber but I am ...
0
votes
1answer
20 views

Turn showdow off for one date in document

MRE: % Preamble \documentclass[11pt]{article} % Packages \usepackage[showdow,en-GB]{datetime2} % Document \begin{document} % Turn off showdow \DTMlangsetup{ord=raise,showyear=true,showdow=...
2
votes
1answer
60 views

biblatex: automatically abbreviate year ranges

For consistency's sake I need to abbreviate all number-ranges in my document. While biblatex can easily be made to abbreviate page ranges the equivalent command for the year ranges breaks compilation ...
1
vote
0answers
87 views

Can a PDF show today's date, which changes when the file is opened, built in ConTeXt?

I have to share presentation slides with a co-worker. They are created daily in ConTeXt. Throughout the slides, I have placed \date, which is an important part of the slides, but that is the date ...
1
vote
3answers
197 views

How to transform dynamic data into static data

Maybe I asked this somewhere sometime ago. Is there a way to change dynamic data into static data? I have defined the macro \def\date{\the\day.\the\month.\the\year} With every run of TeX the ...
1
vote
1answer
26 views

Change biblatex short date format

I'm writing my document in British English, but live in the Netherlands. In the Netherlands, the short date format is dd-mm-yyyy, as opposed to the British dd/mm/yyyy. How can I get biblatex to use ...
7
votes
1answer
475 views

Is the month field really deprecated?

Jabref 3.8.2 has a tab with Deprecated fields including the field Month. The Biblatex documentation 3.12 still describes the field month and I could not find a sign of deprecation: Was it wrong by ...
2
votes
1answer
26 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 \...
2
votes
1answer
22 views

Convert dayofweek to number

Texmaker, how i can change dayofweek of filecontent to diplay number: Monday = 2, Tuesday = 3...Saturday = 7, Sunday = 1 My code \documentclass{article} \usepackage{filecontents} \begin{...
1
vote
1answer
82 views

How can I automatically add the date to the output PDF file name?

Currently when I generate a PDF file of my document, it produces the name document1.pdf I'd like to set it so that it adds the current date (or the date produced by \date{\today}), such as ...
1
vote
0answers
22 views

British English date in elsearticle in OUP style, without “th”

Upon running pdflatex on the input \documentclass{elsarticle}%%% Version 3.1. Actually I use the options [nonatbib,twoside,preprint] or [nonatbib,twoside,review], but it's irrelevant, I hope. \...
0
votes
2answers
84 views

Day of year for date format Month/Day/Year

I want to know "day of year" for a calendar. Here's an example: Date format : Month/Day/Year = Day of year 3/19/2019 = 78 3/19/2020 = 79 How can I find/display the Day of the year?
1
vote
3answers
108 views

Changing the date

\documentclass[a4paper,10pt,demo ]{article} % \usepackage{pifont} %bouni %-----accent \usepackage[latin1]{inputenc} %écrire directement les accents et il peut poser des problème \...
0
votes
1answer
19 views

Convert \pdfcreationdate to pdfa-1b pdfinfo

I am using usual method to prepare pdfinfo with date conversion: \def\convertDate{% \getYear } {\catcode`\D=12 \gdef\getYear D:#1#2#3#4{\edef\xYear{#1#2#3#4}\getMonth} } \def\getMonth#1#2{\edef\...
2
votes
1answer
160 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 ...
0
votes
1answer
31 views

how to get the monday of a years first week?

I would like to get the date of the monday of the first week of a year from only the year The purpose is a week planner where I put one week on each page and as most of the years first weeks monday is ...
3
votes
1answer
65 views

How to to add “th” or “rd” to the date

Hi this is the preamble I have used \documentclass[prd,aps,superscriptaddress,twocolumn,10pt]{revtex4-1} \usepackage{times} \usepackage[a4paper, left=1.85cm, right=1.85cm,...
2
votes
1answer
151 views

Setting the position of date on title page

I am new using LaTeX and am therefore copy pasting a lot of packages and template into my LaTex. I am having an issue with the year on my title page. I need it to be below the department and not at ...
3
votes
3answers
173 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
1answer
82 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 ...
2
votes
1answer
819 views

How to add birthdate in moderncv [duplicate]

I'm using moderncv and I'm having an issue adding birthdate This is the code I'm using \documentclass[10pt,a4paper,sans]{moderncv} \moderncvstyle[right]{classic} \moderncvcolor{burgundy} \usepackage[...
1
vote
1answer
58 views

Display an index of dates

I write a document which tells a story long of a few months, and I would like to display an index of the main dates at the end. For example, I would like to type something like (french format): On ...
0
votes
0answers
40 views

Date is not displayed correctly in my beamer [duplicate]

The date is not displayed correctly in the inferior part of my slides. \documentclass{beamer} \mode<presentation> { \usetheme{Madrid} % or try default, Darmstadt, Warsaw, ... \...
1
vote
1answer
72 views

When the number of slides of my beamer is more than 10, the date is not displayed correctly in the inferior right corner

When the number of slides of my beamer is more than 10, the date is not displayed correctly in the inferior right corner of my slides. \documentclass{beamer} \mode<presentation> { \usetheme{...
10
votes
1answer
120 views

Incomprehensible error with babel and isodate

The error in question is: ! Undefined control sequence. \ifthenelse #1#2#3->\let \bbl@temp@pref \pageref \let \pageref \org@pageref ... l.19 \date{\today} ...
3
votes
2answers
70 views

How to use `\monthiname`, `\monthiiname`, … commands from `babel`?

Within the babel package, for each language, the month names are already defined as \month<roman number>name commands. I was looking then for a solution that would provide me with the month ...
1
vote
1answer
84 views

day not appearing in bibliography

I want the date to appear in the bibliography. I am using the day property but it is not working. \documentclass[12pt]{article} \usepackage{url} \begin{document} \cite{test1} \bibliographystyle{alpha}...
3
votes
1answer
225 views

\date doesn't show date

My LaTeX code is \documentclass[12pt]{article} \usepackage[margin=1in]{geometry} \usepackage{amsfonts, amsmath, amssymb} \usepackage[none]{hyphenat} \usepackage{fancyhdr} \usepackage{graphicx} \...
10
votes
2answers
197 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 ...
0
votes
1answer
65 views

xtick latex hour option

I have many graph using date as x axis, and I wonder if there is an option of xtick to put a tick every hour automatically and not writting every tick like that : xtick = { {2018-04-27 05:00}, {2018-...
3
votes
1answer
84 views

Problem to plot data with dates using an external file

Using logs to make statistics, I have a large number of data which contains two columns, like this (dd-mm-aaaa hh-mm float) 27-04-2018 04:43 7.78269552 27-04-2018 04:44 7.901522832 27-04-2018 ...
4
votes
1answer
103 views

Happy Pi day to applied scientists!

Happy Pi day to all non-American applied mathematicians and scientists (like me) who make approximations! This is in fact TeX related as I have a question, or perhaps a puzzle. How would I make the ...
1
vote
2answers
138 views

Put text and image over lines

I found a way to put the date and signature lines as shown in the picture and with the following LaTeX code, but I am struggling with figuring out how to put the date and an image a signature over the ...
5
votes
1answer
84 views

How to get (ancient) dates with `beforechrist`localisation?

I would like to get the date(era) of this MWE \documentclass{article} \usepackage{filecontents} \usepackage[ backend=biber, style = archaeologie, ]{biblatex} \addbibresource{\jobname.bib} \begin{...
1
vote
1answer
97 views

Multiple-day event date in JabRef

In JabRef, I would like to write the event date, not as a single day, but as a period. Something like: eventdate = {YYYY-MM-DD to YYYY-MM-DD} eventdate = {From YYYY-MM-DD to YYYY-MM-DD} etc. Does ...
0
votes
1answer
79 views

Date not appearing in document class 'proc' [duplicate]

I am viewing it with pdflatex. I could not understand the other question's solution \documentclass[12pt]{proc} \usepackage[margin=1in]{geometry} \usepackage{graphicx} \title{Bus Rapid Transit} \...
1
vote
1answer
71 views

Package isodate Warning: Language english unknown to isodate

Consider the following input: \documentclass{article} \usepackage[english,ngerman]{babel} \usepackage{babelbib} % Multilingual bibliographies \usepackage{url} \usepackage[num,ngerman]{isodate} % Tune ...
2
votes
1answer
145 views

How to redefine \the\year

I used \the\year many times on a template. So when I compile the document, the current year is used. The problem is that I created many documents last year, in 2017, and now I have to fix some small ...
2
votes
1answer
107 views

hyperref: Token not allowed in a PDF string (PDFDocEncoding): (Not duplicate) how to include date \today?

I have been away of Beamer for a few years and I am coming back to my old notes (samples of code) that I put together and build a few new presentations. While I was compiling the code I got the ...
1
vote
1answer
121 views

\formatdate without day

I frequently use the \formatdate{01}{02}{2016} command to get a result like Now I need the same thing, but without the day. I just need the month and year. Unfortunately, the \formatdate command ...
2
votes
1answer
166 views

The use of \date{} doesn't remove the date

In fact, I want to remove the date. I saw that I have to use \date{}, but in my case nothing happens and the date is still there. Here is the code: \documentclass[12pt,stdletter,orderfromtodate,...
4
votes
2answers
153 views

Get date elements as strings

I want to know if there is a way to get the date elements (year, month, day, hour, minute, second) in order to create a lucky of version number that automatically increments. For example if now it is ...
-1
votes
2answers
2k views

latex date: month-year only [closed]

In my thesis class file, I currently have \begin{center}% \@date% \end{center}% Which generates a date in the format day-month-year on the title page. How do I change this so it only states the ...
3
votes
1answer
251 views

ISO Date Format

I have done a search on this forum and on the internet and have not found the answer to my question. I am looking to use an ISO date format such as 2018W083 for today (2018-02-21) in my reports. I use ...
5
votes
1answer
51 views

Using the document title to get the correct date

I create a lot of handouts and the like for my students using LaTeX. I find that I forget to update the date field, and so I often give out handouts with the incorrect date on the top. This is a bit ...
5
votes
1answer
402 views

\date{} doesn't work with new update

When I use \date{} with the recent updates, see example below: \begin{document} \title{Mathematics of Finance 2} \author{Daniel Royer\\ Geneva Business School\\February 2018} \date{February 2018} \...
7
votes
2answers
255 views

Online sources without “last edited” date field

My university requires online sources to include three different dates per entry: Date of original publication Date of last edit date of visiting the website Well, the first and third date are easy, ...