{datetime} is about either setting time stamps for your document or handling time data in {diagrams} (e.g., using {pgfplots}). If you are setting the date/time for a title, include the {titles} tag.

learn more… | top users | synonyms

2
votes
2answers
29 views

How to change date format from French to US date format?

I am using this latex theme for an upcoming presentation. Everything is good except one thing: the date, which is in French and I want it in US date formatting. I tried using \usepackage{datetime} ...
2
votes
2answers
50 views

How to display specified date from numeric value to Lithuanian format?

I'm unable to understand how to specify a date something like 06-09-2012 (or any other numeric equivalent) so it would print it in Lithuanian? There's package called [lithuanian]{babel} and for ...
5
votes
1answer
90 views

datetime package does not work with lualatex in TL 2016

I am getting error compiling using lualatex under TL 2016 installed today when I use package datetime. This MWE works ok under TL 2015. How to resolve this error? It looks like the API to the datetime ...
3
votes
1answer
35 views

Problem using the acro-package and \today

I have a problem using the tooltip option of the acro-package and the command \today. In my document i load \usepackage[tooltip = true]{acro}, where the option tooltip=true loads the package ...
13
votes
3answers
9k views

Month/Year Format in Latex

This should be a easy question, but I didn't find answer from googling. The date format I wan is: Month(letter), Year(numerical). For example, I want: November, 2014. Of course, I can manually achieve ...
5
votes
1answer
217 views

How to redefine the \today with superscript?

How can I redefine \today so that today's current date comes in the format May 26th, 2016 I need the "th" to be superscript. It should come to the bottom right corner of the page. The code does ...
1
vote
2answers
330 views

Renaming date in revtex4

I found the similar question and answer for renaming some of the keywords, but they were for revtex4-1. Since my document is giving me strange errors when I'm using revtex4-1, and not when I'm using ...
8
votes
5answers
2k views

Date of file creation

When I write my notes, (I actually use lyx but that does not matter) I like to add a header with the name of file and the date the file was compiled. This I do using fancyhdr package and \pagestyle{...
4
votes
1answer
134 views

Removing “de” preposition in Month/Year date format

I want to have the date of my document with a Month/Year format such as "May 2016". To accomplish this I have followed the instructions in this answer and this article. This is the code: \...
8
votes
3answers
824 views

How do I insert yesterdays date instead of today? [duplicate]

I usually generate a report for the previous day (as I imagine isn't all too uncommon) and so I'd like to date it with yesterday's date instead of today. Currently I have: \title{foo} \date{\today} ...
2
votes
0answers
60 views

How to create comparative timelines in LaTeX? [closed]

I want to create comparative timeline as below: Date | Event 1 | Event 2 | Event 3 | Event 4 | ================================================ DDMMYY | text | text | text | text | -----...
7
votes
2answers
4k views

How to write a non-today date in latex with localization formatting?

I've tried googling around and all I have found is a lot of example on how to format \today. But that isn't what I want. Instead, I want a way to format historical dates based on the localization ...
3
votes
2answers
251 views

Date formatting — changing from web format to another format

I have two different dates in my latex document which is not current dates (dates which come in my latex template from the web form). They look like this: 2016-03-31, but I want these dates be in the ...
3
votes
1answer
51 views

Iterate through dates

I want to create a one day per page calendar. I create the pages in a for loop, but I don't know how to save and increase it each iteration. I thought about saving day, month and year separated, but ...
2
votes
1answer
176 views

A more suitable Timeline

I am looking for some LaTex timeline, which should look like something as below: Edit 1: I did check the pgfgantt package but it doesn't provide as cool a timeline as above. Edit 2: The minimal ...
1
vote
3answers
90 views

Create custom date command using numbers

Is there any way to create a custom command that prints the date (using the language specified in babel to be possible) from a given ISO 8601-formatted date? What I would like is that \today \...
4
votes
2answers
112 views

Omit the date in \maketitle *without blanking the date*

So, this is building on Omitting the date when using \maketitle; but I'd still like to include the date in the page footer. This means \date{} isn't an option. (Of course, I'd like to get rid of the ...
4
votes
1answer
45 views

Replicate behavior from datetime package with datetime2 package

The datetime package is now obsolete and I would like to switch to the newer datetime2 pacakge, but I am having trouble recreating the behavior that I used the datetime package for. The following MWE ...
4
votes
1answer
255 views

How to create a date and time plot with TikZ and pgfplots

What I want to achieve is a graph, which shows the working hours per day. Input should be the triple of date, arrival time and leaving time. The x-axis holds the dates and the y-axis shows the working ...
3
votes
1answer
26 views

How to add a date into the name field of includepdf?

I'm using Sweave to automate the creation of a report, and I want to include a PDF into my document, but the PDF and its name are updated daily (because they are produced using Sweave). For example ...
1
vote
1answer
659 views

How to input current date directly from datetime to pgfgantt

I would like to input the current date taken from "datetime" into the "pgfgantt" package to update the date bar automatically at compilation. The date seems to be in the correct format, however ...
6
votes
1answer
417 views

Specify timezone for \today and \currenttime

Is there a way I can specify the timezone LaTeX should use when printing the \today and \currenttime (or the datetime package in general)? I need this because travisCI does build my PDF automatically ...
7
votes
2answers
7k views

BibTeX month format

Please i'd like to display the month in French in the pdf, have you an idea ? @Misc{url-site, key = {site}, title = {\textit{site}}, month = jun, year = {2012}, howpublished = {URL: ...
10
votes
2answers
642 views

Time of the day or time period using the package siunitx

I would like to display the time of the day like 18h30 or 18h30m with siunitx. Is there a proper way to display time and time intervals? I have read some discussions on the Mailing-List, but it seems ...
2
votes
2answers
105 views

Date Calculations (output should be the fixed day of the month)

I'm building a LaTeX document that already got the date from other files. The date showed as 23 November 2015 as the example (by \today). Then I need to output another date related to this original ...
1
vote
1answer
43 views

Conflict between polyglossia and datetime package

The goal of my document is to have a date in the following format <AAAA> <month> le <JJ>, so I use the following code: \documentclass[a4paper,12pt,oneside]{article} \usepackage{...
18
votes
2answers
859 views

What is the XeTeX equivalent of \pdfcreationdate?

I need the time to 1-second resolution. datetime uses \pdfcreationdate for this, but only under pdf(La)TeX. As a result under XeLaTeX, this: \usepackage{datetime} ... \newtimeformat{hhmmss}{\...
3
votes
1answer
30 views

Package tracklang Error: Dialect `iso' is not predefined

I added the package datetime2 so i could write out the todays time in the ISO standard. \usepackage[iso]{datetime2} I get a error saying that iso is not predefined. datetime2.sty 159 Package ...
42
votes
5answers
25k views

Date format: YYYY-MM-DD

Currently I put the date in my document using: \date{\today} How do I display the date in the YYYY-MM-DD format?
10
votes
2answers
322 views

Change month names in \today command

The \today command will print the Latin name of the month with the nynorsk language option. I would like to change this by using the more traditional (and still very commonly used in speech) system of ...
2
votes
1answer
80 views

How to make a new date format with abbreviated names of months with the datetime package?

I am looking to save and re-use dates which needs to be displayed in a format such as Oct. 25. How do I do that please? I read the documentation in datetime package. They do have shortmonthname ...
1
vote
0answers
32 views

How to write today's date which does not change afterwards? [duplicate]

In latex, the command \today displays today's date. Consider that I write something like: Updated news: \today. It appears like Updated news: Saturday, October 24, 2015 After a while, when I ...
2
votes
0answers
53 views

Increasing datetime resolution, to be used for log files

I have some log files with a full time stamp like this: time value 2015-10-15 13:16:48.019901 56 2015-10-15 13:16:48.066701 53 2015-10-15 13:16:48.097900 57 2015-10-15 13:16:51.126281 61 2015-...
4
votes
1answer
77 views

Australian date formatting with Biblatex and APA style?

In my references I'd like my dates to be written as "day month year". I've been able to achieve this following the top answer here Formatting dates “day month year” with biblatex. However, as soon as ...
9
votes
1answer
271 views

Alternative text for Javascript (form) boxes for viewers that don't support Javascript?

I am using the tdclock package to display the current date and time. In looks pretty good in Acrobat, but in other viewers (like Evince) it looks terrible because they don't support Javascripts and ...
1
vote
1answer
81 views

Fixed date without maketitle

begin{document} \pagenumbering{roman} \begin{titlepage} \begin{center} \includegraphics[scale=0.8]{logo}\\[0.9cm] {\huge title...... \\} \vspace{1.5cm} \...
1
vote
1answer
383 views

XY plot from date/time data table using pgfplots

I have a dataset in the format shown below, which I have exported from R using export.table() function. I want to make an XY plot using pgfplots, where x=time, and y=value, and the points are ...
2
votes
1answer
127 views

AMSART: Including two dates

In amsart, how do you include two dates (in the footnotes)? Specifically, another one (displayed after the label Last update) in addition to the default one (\date), with the same options. \...
2
votes
1answer
100 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 ...
3
votes
1answer
22 views

How can I eliminate spurious spacing using datetime with a modified .def?

I am trying to construct a corrected version of dt-welsh.def for use with the datetime package. In part, this is because my existing set up depends on datetime and, in part, it is because datetime2 is ...
7
votes
2answers
111 views

datetime causes incorrect date format even when babel is loaded first

According to the package manual, datetime supports language-sensitive date formats provided that babel is loaded first. The example on page 2 is: \usepackage[francais]{babel} \usepackage{datetime} ...
8
votes
1answer
279 views

How to get automatic date generated in a LaTeX file?

I tried using the datetime package, but it doesn't display the date in the format I want. What I would like is something like August 30, 2015. How do I do this?
127
votes
2answers
168k views

Omitting the date when using \maketitle

I'm using the \author and \title commands to produce a title with \maketitle. I also know that there is a \date command to specify the date of my work. However, if I omit \date, \maketitle will ...
2
votes
1answer
97 views

Selectively citing full month name with biblatex-ieee?

Consider this MWE: \documentclass{article} \usepackage[ bibencoding=utf8, backend=biber, natbib, style=ieee, % this abbreviates month always! dateabbrev=true, % but this (alone) seems to ...
6
votes
1answer
74 views

Allow line breaks in date ranges?

Code: \documentclass[10pt,paper=14.8cm:21cm,BCOR=10mm,DIV=12,parskip=half] {scrbook} \usepackage[T1]{fontenc} \usepackage[german]{babel} \usepackage[utf8]{inputenc} \begin{document} Markus hat den ...
7
votes
1answer
5k views

How to change date format to German?

I use the \today comment, then it produces den 26th February. However I want den 26ten Februar. How can I change that?
3
votes
1answer
365 views

Equivalent of `newdateformat` in `datetime2`?

The datetime package has recently been withdrawn and replaced by datetime2. Any idea for the equivalent of newdateformat in datetime2 ?
5
votes
2answers
108 views

Does termcal work with datetime?

I'm using both datetime and termcal together in a document, but this seems to cause an error. \documentclass[12pt,letterpaper]{article} \usepackage{datetime,termcal} \begin{document} \begin{calendar}{...
1
vote
1answer
67 views

How should multiple time formats be used?

I want to have a command to display the current time in a few different formats, specifically, the following: 2015-05-15 15 May 2015 122200 2015-05-15T122200 I'm not sure how to do this properly ...
4
votes
1answer
193 views

paper - abstract - manually change the date

In my paper I have a sole page for the abstract. There I state the title of my paper, my name and the abstract. However, it marks also the date. As it marks the actual (today) date, I'd like to know ...