Questions tagged [date]
For questions related to dates in various sections of a document, bibliography, or related.
213
questions
0
votes
0
answers
13
views
Given date in Gregorian, convert to localedate
I have this year in Gregorian calendar
\localedate[calendar=gregorian]{620}{01}{05}
with the following Babel setup
\usepackage[english,
bidi=basic,
layout=counters tabular]{...
1
vote
1
answer
17
views
Date format option not working on genealogytree
I have a genealogytree TeX file that was working just fine when compiling on an old Macbook. I now changed to a Debian based system, and suddenly the file no longer compiles with the required "...
2
votes
1
answer
95
views
How to display \time in terms of hours and minutes?
I found that I can display \time writing \the\time,
but this seems only to count minutes.
So informally,
the hours are \the\time / 60 and the minutes are \the\time % 60.
But how can I get the form hh:...
0
votes
1
answer
110
views
Typesetting the Year in an Old Style
I have recently encountered some unusual ways of displaying years; consider, for instance,
and
QUESTION: Might there be some way(s) in LaTeX which facilitate the typesetting of the displayed formats,...
1
vote
1
answer
52
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 ...
3
votes
1
answer
81
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 ...
0
votes
1
answer
105
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?...
0
votes
0
answers
50
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 ...
1
vote
1
answer
53
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 ...
6
votes
1
answer
275
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:
\...
3
votes
1
answer
64
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....
1
vote
1
answer
87
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, ...
-1
votes
2
answers
98
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?
0
votes
1
answer
56
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, ...
0
votes
2
answers
128
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, ...