Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
50 views

Automatically display the year as "b.C" (before Christ) if the value is negative?

Is there any package that can automatically display the year as "b.C" (before Christ) if the value is negative? I've code for that, but I am looking for a more elegant solution, or even ...
G. Bay's user avatar
  • 2,069
3 votes
1 answer
77 views

Order of date biblatex

I am using biblatex to cite a news report in APA. Everything is working except the detail that the date in the reference is Month day, year. And I would like Year, Month day. Any ideas?? This is my ...
Juan Pedro Ross's user avatar
0 votes
1 answer
95 views

Problem with \today

In my code, when I use \today--command, the month-output is with lower-case letter, i. e., 27 aprile 2024. I'd like to have 27 Aprile 2024, with capital letter. Is there a way to obtain desired format?...
Puck's user avatar
  • 1,212
0 votes
0 answers
40 views

Dinbrief, texlive 2021 and date

we use since 2007 the dinbrief style to write german letters. Normally one could date the letters with \date{DD.MM.YY} to set a special date. Since we now have TexLive 2021.20210325 with Opensuse Leap ...
eegclbugs's user avatar
1 vote
1 answer
49 views

Getting Date from week number automatically for a specific year

Is there a way to automatically output the date based on the week number? More precisely: I enter the week number for a specific year and as an output I get the date from Monday to Sunday? There are ...
No Name's user avatar
  • 31
6 votes
1 answer
265 views

How to get the first three letters of today’s day of week?

I tried using the package datetime2 to get the whole name of today’s day of week and then xstring to trim it as desired. But when I run the following code, the result is not trimmed at all: \...
Myvh's user avatar
  • 63
3 votes
1 answer
59 views

Dates are not being formatted

I'm using the genealogytree package to make a nice family tree. No matter what I do, however, I haven't managed to get the dates to format properly. For example, I'd expect the bottom node to say 22.7....
Ondřej Zelenka's user avatar
1 vote
1 answer
84 views

How can I edit my Title, Author and Date sections to change the spacing to even them out and shorten the space between, on top and below them? [closed]

I already have geometry set to top=2cm,bottom=2cm,right=2cm,left=2cm, but I want to make it so that can change the distance between the top of the page and the title, change the space between title, ...
Felix Maldonado's user avatar
-1 votes
2 answers
95 views

Convert epoch timestamp to human readable [closed]

I am struggling to find out a way to do this simply. (or at all) Assuming I have the following: timestamp: 1697513559 timezone: -0500 How can I convert that to human readable format?
user606723's user avatar
0 votes
1 answer
47 views

how can I tune the locale format of the calendar date LyX export pdflatex automatically generates and inserts?

I'm using LyX (version 2.3.7 under MacOS 13.5.2) to generate small documents containing mostly math (homework assignments for a university course) and am generally very impressed with the power, ...
tbhanson's user avatar
0 votes
2 answers
121 views

How to explicitly set the date for a letter -- to avoid it defaulting to today?

I have several .lyx files from circa 2000, which I need to reprint. I didn't preserve the corresponding .pdf (or .ps) files, so I need to regenerate those. Modern LyX has no problem with that except, ...
Mikhail T.'s user avatar
1 vote
2 answers
81 views

Validate a date using datetime2 or other packages

Can an English date be validated using the datetime2 package? If not, are there any other packages/ways to do this? Valid arguments: 2023-06-14 , 2023-09-24 , ... Invalid arguments: 2023-06-XX , ...
projetmbc's user avatar
  • 13.4k
0 votes
1 answer
44 views

Verbatim date entry

I received a bibliography (docx) with the following entry that I’m trying to fit into LaTeX: Bo Ming, Fengcheng suolu, presumably first published in late Qianlong era. Liaohai congshu, Shenyang: ...
Philipp's user avatar
  • 1,595
0 votes
1 answer
52 views

Calculations from fixed dates, how to add days

Writing fiction I would like to keep my calendar dates and time spans between events tracking contained within the source itself, and therefore need to do something (I though just as simple as) ...
Erik Itter's user avatar
4 votes
2 answers
234 views

Biblatex school year 1987/1988 with slash as date

School years are at least in some areas traditionally written with slashes, eg. "1987/1988". However, the Biblatex uses the slash in the date field to represent ranges, eg. date={1987/1988} →...
bead-v's user avatar
  • 97
0 votes
2 answers
95 views

Changing the format of \today to Month year

I want \date{\today} to show the date in the format Month-year; without the day (i.e: July 2023), instead of: day of the week-day-Month, year (i.e.: Tuesday 18th July, 2023).
Andy R's user avatar
  • 3
6 votes
1 answer
110 views

Format a standard ("Norm") in Biblatex -- show publication month in ISO style

I'm trying to set my own style for standards documents ('Normen' in German). I have copied most of it from report and it works quite well, except the month, which is formatted locally (even in \...
Dux's user avatar
  • 129
1 vote
1 answer
108 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 ...
alice19's user avatar
  • 746
1 vote
1 answer
169 views

date format for specific date

I am using the package like this: \usepackage[nodayofweek, short]{datetime} So when I am using \today it shows exactly what I want like this: So I have two questions. One, how to omit the year? Two, ...
liaoming999's user avatar
0 votes
1 answer
66 views

date beamer metropolis using rmarkdown

I am trying to make a beamer presentation with the Metropolis theme. I adapted the colors like this: output: beamer_presentation: latex_engine: xelatex theme: &...
Marie's user avatar
  • 25
0 votes
0 answers
168 views

Dates doesnt show up in the bibliography (Using zotero and IEEE)

As the title says, the dates don't show up in the bibliography. Currently referencing in IEEE style and using Zotero as a reference library. When checking the references.bib the dates are all there. ...
user296866's user avatar
0 votes
0 answers
39 views

Having slight problem with plotting with date in pgfplots

I am really trying to plot data with date in it. I keep getting an error when I try to compile scrbook: \float@addtolists detected!(scrbook) Implementation of \float@addtolist became(scrbook) ...
Ólafur Víðir Guðbjargarson's user avatar
1 vote
1 answer
67 views

Define a `\DTMifdate` conditional using the `datetime2` package and `\today`

I got a question regarding the usage of the datetime2 package. I want to set some due date and to define a certain date such as \paperdate which is either \today when it's before the due date or the ...
pahohu's user avatar
  • 229
1 vote
1 answer
88 views

How to customize display of date and time of compiling

How do I customize date and time display for the compile date and time? I see the datetime2 package gives many predefined options, but what if I want to do something unique? The datetime2 mentions the ...
BrianWilson's user avatar
4 votes
1 answer
220 views

BibLaTeX entry year or date with text in it? The need to avoid a warning

Is there a way to use the bibentry for year or date with for example date = {Around 171} or year = {Around 171} if the year and date of the work is historically not exactly known and to be precise ...
Thomkrates's user avatar
1 vote
1 answer
132 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 ...
AEW's user avatar
  • 819
1 vote
1 answer
284 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[...
mamimom892's user avatar
1 vote
1 answer
84 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 ---,} ...
DDS's user avatar
  • 8,986
2 votes
1 answer
42 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]{\...
M. Logic's user avatar
  • 4,313
1 vote
2 answers
78 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{...
M. Logic's user avatar
  • 4,313
0 votes
1 answer
70 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} \...
Lone Learner's user avatar
  • 3,246
0 votes
1 answer
68 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} ...
Lone Learner's user avatar
  • 3,246
2 votes
1 answer
121 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: \...
Festona's user avatar
  • 39
0 votes
1 answer
59 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 ...
g_don's user avatar
  • 799
0 votes
0 answers
52 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} \...
Ypbor's user avatar
  • 399
2 votes
1 answer
123 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} \...
DDS's user avatar
  • 8,986
1 vote
1 answer
55 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 \...
nikhilweee's user avatar
  • 1,659
1 vote
0 answers
31 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 ...
ption1532's user avatar
0 votes
1 answer
88 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 ...
Asycoptica's user avatar
4 votes
3 answers
222 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 ...
Zubo's user avatar
  • 582
0 votes
1 answer
24 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} \...
Munif Zaman's user avatar
2 votes
1 answer
101 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., “...
umrpedrod's user avatar
0 votes
0 answers
53 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{% ...
Ulrich's user avatar
  • 937
1 vote
1 answer
136 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{...
Ulrich's user avatar
  • 937
0 votes
0 answers
26 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 ...
dummy_thin's user avatar
0 votes
2 answers
61 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 ...
Rodrigo's user avatar
  • 491
0 votes
1 answer
539 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 ...
Afnan's user avatar
  • 3
2 votes
1 answer
213 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 \...
3kstc's user avatar
  • 931
0 votes
1 answer
340 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 ...
Jan Stuller's user avatar
0 votes
1 answer
78 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?
Zoltan King's user avatar

1
2 3 4 5