Questions tagged [date]

For questions related to dates in various sections of a document, bibliography, or related.

Filter by
Sorted by
Tagged with
1 vote
1 answer
49 views

Redefine the abbreviated months with datetime2 package

I was wondering if there is a way to redefine the abbreviated months with datetime2 package, such that, when using the command \today, months are written exactly like the first column of the image ...
  • 21
1 vote
1 answer
38 views

Change the citation's "accessed on" date format

I would like to change the date format that appears in the citation's "urldate". Right now it's at yyyy-mm-dd and I would like to change it to dd/mm/yyyy, I've tried with \usepackage[...
1 vote
1 answer
66 views

The Location of the Date in Letter Class

MWE: \documentclass[12pt]{letter} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} \begin{letter} {Name \\ Address \\ Location } %\date{February 15, 2023} \opening{Dear ---,} ...
2 votes
1 answer
38 views

How to add parenthesis around the question mark after the date which is uncertain in biblatex?

First a MWS and its output are as follows. \documentclass[american]{article} \usepackage[style=authoryear,dateuncertain=true]{biblatex} \addbibresource{\jobname.bib} \begin{filecontents*}[overwrite]{\...
  • 3,707
1 vote
2 answers
50 views

How to add a question mark after date when the date is uncertain in biblatex?

First a MWS and its output are as follows. \documentclass[american]{article} \usepackage[style=authoryear]{biblatex} \addbibresource{\jobname.bib} \begin{filecontents*}[overwrite]{\jobname.bib} @book{...
  • 3,707
0 votes
1 answer
60 views

Can I use "australian" option only for \mkbibdatelong but use "british" for everything else?

I have two code examples here. Option british for babel \documentclass{article} \usepackage[british]{babel} \usepackage[style=authoryear,date=year,urldate=long,dateabbrev=false]{biblatex} \...
  • 3,156
0 votes
1 answer
33 views

Format "visited on" date in "dd Month yyyy" format (example: "1 October 2006") in references list

My code: \documentclass{article} \usepackage[british]{babel} \usepackage[style=authoryear,date=year,urldate=long,dateabbrev=false]{biblatex} \addbibresource{biblatex-examples.bib} \begin{document} ...
  • 3,156
2 votes
1 answer
56 views

Date removal on a LaTeX document [duplicate]

I started to write a paper on LaTeX format, but today's date is displayed after the title. I'm not sure why it is being displayed when none of the commands seem to be indicating it. Code: \...
  • 39
0 votes
1 answer
30 views

How change the date format of url field of biblatex package?

I need to print, for instance, 15 October 2022 and not the 15th October 2022. I found a similar question old_solution where it is reported to use the australian language since it formats the dates ...
  • 745
0 votes
0 answers
44 views

Why doesn't \date work?

\documentclass[notitlepage, 12pt]{amsart} \usepackage{amsthm, amsmath, amsaddr, amssymb, graphicx, dsfont,} \usepackage[dvipsnames]{xcolor} \renewcommand{\baselinestretch}{1.2} \usepackage{natbib} \...
  • 307
2 votes
1 answer
38 views

How to Suppress the Date Generated by Maketitle [duplicate]

Consider the code: \documentclass[titlepage,10pt]{book} \usepackage[showframe,margin=.3in,paperwidth=4in,paperheight=6in]{geometry} \textheight=5.25in \usepackage[frame,noinfo,center]{crop} \...
  • 7,282
1 vote
1 answer
36 views

Removing date while preserving month and year from \today?

I wish to format today's date as october 2022. Emphasis on the lowercase october. I know that \today gives me October 24, 2022. How can I extract just the month and the year? I tried using \the\month \...
  • 1,649
1 vote
0 answers
21 views

How to remove space reserved for \author in documentclass article's \maketitle?

The space reserved for \date is removed when it is left empty. Compare the two examples below. 1. \documentclass{article} \begin{document} \title{Test} \author{Dave} \date{Tomorrow} \maketitle This ...
0 votes
1 answer
24 views

isodate: \date inside \daterange

I am currently using the isodate package to perform locate-specific date formatting. There are certain dates that I store in variables since I use them throughout the document. Unfortunately, these ...
4 votes
3 answers
155 views

How to insert the next month, like /today?

I'd like to create a command that would insert the next month (in relation to the current one), like so: \command -> November analogously to \today. The command cannot be hardcoded, as the ...
  • 582
0 votes
1 answer
22 views

How to generate different title in other page other than the title in the title page with no author and no date?

I am using overleaf. This is my code in main.tex file- \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,graphicx,hyperref,ulem,physics,enumitem,mathtools,titling} \...
2 votes
1 answer
48 views

Customizing Bibliography using biblatex

I'm struggling with understanding how to change the bibliography in biblatex. The style I'm using is "numeric-comp" which according to my MWE below gives me the following order: Name, G., “...
0 votes
0 answers
45 views

repeat.tex and \date: Not working with ngerman option

How to get the right date in a German document using the repeat.tex file? This can be found on ctan.org under repeat.tex. I always get the english version. \documentclass{scrartcl} \KOMAoptions{% ...
  • 777
0 votes
1 answer
57 views

Why is the German option ignored by igo.sty?

It is not a serious issue, but I would like to know why this happens. If I compile \documentclass[ngerman]{scrartcl} \usepackage[ngerman]{babel} \title{Title} \date{\today} \usepackage{igo} \begin{...
  • 777
0 votes
0 answers
25 views

Getting numerical value for day of the month [duplicate]

When I use \today it gives me July 11, 2022 I would like to get the numerical value of the day of the month instead. Kind of like this: \todaynum 11 How could I make a command that would return ...
0 votes
2 answers
31 views

Trouble positioning the date in a complex titlepage

I have got the following template online (with some searching) and basically my problem is how to set the date close to the lower part of the title page. The code I used to get the output above ...
  • 471
0 votes
1 answer
108 views

How to have (author, n.d.) using @misc in natbib

I would appreciate your assistance on how to make the in-text citation be (author, n.d.) instead of (author, nd) for references with no date. Strange thing is that n.d. is showing in my reference list ...
  • 3
1 vote
1 answer
103 views

How to calculate the number of days (and weeks) between a date and \today

Background: I've been trying to find a way to get LaTeX to automatically calculate the number of days and weeks (and even years for the sake of completeness) elapsed between a predefined date and \...
  • 851
0 votes
1 answer
77 views

Set specific dates

I have spent a fair couple of hours on this, including searching this forum, but I still haven't managed to solve my issue, therefore decided to ask a question here. I am trying to run the following ...
0 votes
1 answer
65 views

In what format the day need to be specified in date?

Is it \date{April 5, 2022} or \date{April 05, 2022} Is that leading 0 necessary for days?
6 votes
2 answers
232 views

How to Extract the Three First Letters of Current Month in French without Accented Characters?

Is there a way to extract the 3 first letters of the current month in French but WITHOUT acented characters AND with the first letter capitalized - e.g. Fev for Février (February in english) - AND ...
2 votes
1 answer
290 views

How to use two different date formats: yymmdd and dd/mm/yyyy?

I would like to be able to use, in the same document, these two date formats: dd/mm/yyyy (as default format) yymmdd (as "local" format) Why I want that? Because I would like to use the &...
0 votes
1 answer
90 views

Current day using \today for March give `Mars`

I'm using \today command to add current day to the document. For some reason it is printing MARS instead of MARCH. I'm using this template https://www.overleaf.com/latex/templates/awesome-source-cv/...
2 votes
1 answer
108 views

Get dates from ICS file

In (several) LaTeX documents I need to write about dates that I already have in Thunderbird so I can export them easily as ICS (iCalender) file. Copying them is very error prone, in particular if any ...
  • 325
6 votes
2 answers
264 views

Expand \today in custom format

I want to fill in an already printed form. The form has boxes to write down current date. How can I expand current date so that it look like 1 4 0 2 2 0 2 2 with a space between the digits
  • 6,395
5 votes
3 answers
200 views

Why can't this code successfully parse the date string?

As an attempt to practice with expl3, I am trying to parse numerical date string to French. There is a \mymodule_display_date_year_month_day:n which receives a string of form yyyy-mm-dd (or yyyy-mm or ...
  • 7,380
0 votes
1 answer
89 views

How to extract year from date in iso 8601 format?

I want to extract the year (or day or month) of a date which is stored as ISO 8601 in a database. My MWE looks like: \documentclass{article} \usepackage{xstring} \usepackage{datatool} \newcommand{\...
1 vote
1 answer
51 views

How to view the date in biblatex when using the bibliographystyle: IEEEtran?

I am using the IEEEtran bibliographystyle and have a lot of web ressources. On each web ressoruce I want the date with the time of last access wich Zotero stores me as date in my .bib file. Her is my ...
  • 13
0 votes
1 answer
72 views

Biblatex: Different entry types have different date formats (with and without brackets) in bibliography

I am using biblatex with IEEE and I am getting dates with and without brackets around them, depending on which entry type I'm using (such as @journal, @online, @misc, etc). I have tried searching ...
2 votes
1 answer
83 views

Without using packages, define function \lastMonth as Last month, The year for last month LaTeX

Using this format, how would I assign the month to be last month/year instead of current month/year? For example, if I run it tomorrow (01/01), \lastMonth =January, 2022, but I will need it to be \...
  • 145
3 votes
1 answer
447 views

How to format \today to the 'DD MMM YYYY' format?

Can anyone tell me how to format \today to 'DD MMM YYYY' format? Something that gives '10 Jun 2021' would be ideal but I can work with '10 JUN 2021'. I have looked in all the suggested answers but ...
2 votes
3 answers
330 views

How can I extract a date from a file named YYYYMMDD.tex and convert it to date string?

I have a .tex file which is named 20160201.tex, and within that file, I would like to extract the filename without .tex and convert it to the string February 01, 2016? I am able to get the string via ...
  • 31
1 vote
2 answers
60 views

Model as shown in the image

What code do I use to place this model as shown in the image? "April 2007" below the page. So it stays on every page of the document. \documentclass[a4paper,12pt]{article} \usepackage[utf8]{...
  • 121
0 votes
1 answer
98 views

biblatex-chicago: works with same author and no date all appear the same in text

I have the problem with a few websites I am citing for my thesis using biblatex-chicago. For example, I have several wikipedia pages I am citing, all which have no date and therefore appear with "...
0 votes
0 answers
30 views

Different authors, same name and same year of publication in natbib

In my thesis, I cite two different authors who have the same name, and their work were published the same year. This appears in my bibliography as follows: Levinson, Peter. 2016a. ... Levinson, Simon....
2 votes
2 answers
219 views

Date stamp for each page

This question led to a new package: datestamp I am making a workbook, and I want it to show the last a certain page was modified. How can I make a date stamp at the bottom of each page (f.x. "...
2 votes
1 answer
50 views

I want to create a command like "\mês" which returns the atual month in portuguese, like "Agosto"

I want to create a command like "\mês" which returns the atual month in portuguese, like "Agosto". I'm usually using the command \the\year to show the year, and the \date returns ...
4 votes
1 answer
116 views

Store \today value with \DTMsavedate

Goal With datetime2 package I try to save the “\today” date with \DTMdatesave command, but it successively fail. My tries 1. The dumb method I began with the most evident way. Putting directly \today ...
  • 2,209
0 votes
0 answers
43 views

How to get the dates of each Sunday in a month

Is there a way to cleanly calculate the dates of every Sunday in the current month? IE for this month (August 2021) it would return 1, 8, 15, 22, and 29?
0 votes
1 answer
69 views

Convert from Today's Date to Specified Date

I am just a few hours new to TeX and have been tasked to modify an existing template (tex) document for parsing. I have this in an cls file that works fine to add #1 days to today's date: \newcommand*{...
2 votes
1 answer
150 views

How to remove the words 'Who?' and 'When?' in the title page of Bergen beamer theme?

I am creating a simple presentation using the Bergen theme in beamer. I like almost everything about it, except the words 'Who?' and 'When' as respective quantifiers for the author and date in the ...
1 vote
2 answers
799 views

Adding date on right [closed]

I want a result like this, a simple date on the right. Sorry for the question, I'm a beginner
0 votes
1 answer
58 views

How to iterate over days and weeks of the year

Thanks to the help of this community I've managed to create a digital planner template page. \documentclass{article} \usepackage[landscape, margin=0.5cm]{geometry} \usepackage{tabularx} \usepackage[...
0 votes
1 answer
118 views

Date and References in the footer of the first page of a report

I am writing a report in which i need to write date in the footer. But only in the first page of the report. How do I write date in footer? Also I need to write the references there in the footer of ...
  • 65
1 vote
1 answer
382 views

How to put the current date in the footer of every page

My document class is scrartcl and I defined the pagemargins with geometry as follows \documentclass[11pt]{scrartcl} \usepackage[left=2cm, right=1cm, bottom=2cm, a4paper, twoside]{geometry} So the ...
  • 301