{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

27
votes
3answers
5k views

Is there a way to add a timer to a Beamer presentation?

I have seen presentations in Power Point which contain a timer. Can this be done in Beamer using a simple command, or maybe a package? If not a timer, is it possible to at least get a clock on your ...
13
votes
4answers
3k views

Having a LaTeX PDF display the date the document was printed, not compiled…

I have been looking around for quite some time trying to find a way for a PDF (created using XeTeX) to adjust the date accordingly by the date it was printed - not compiled. I am familiar with \date, ...
8
votes
1answer
399 views

pgfplots data time format

I have this type of data set: Time State 22:54:14.716 5 22:54:14.716 5 22:54:14.716 5 22:54:14.716 5 22:54:14.729 4 22:54:14.919 1 22:54:14.919 1 22:54:15.128 5 I ...
24
votes
3answers
15k views

Date format in LaTeX

I use UKenglish package. And the \date command produces the date like so: 10th October 2011. But I want just 10 October 2011; th should be omitted. How can this be done? I tried using datetime ...
16
votes
1answer
1k views

Disable month in biblatex bibliography?

Currently my bibliography items are printed like this: R. B. Griffiths, Nonanalytic Behavior Above the Critical Point in a Random Ising Ferromagnet, Physical Review Letters 23 (July 1969), pp. ...
22
votes
3answers
5k views

Referring to dates other than \today

Is there a package that allows one to work with dates in the following way: just as \date shows today's date, I would like to have a command that dates the document 7 days from today. Also, since I ...
16
votes
3answers
977 views

Range of Dates (1999-01 — 2012-12)?

How to typeset range expressed with dash of two ISO8601 dates ? 2010-01--2012-03 or 2010-01---2012-03 or another option ?
11
votes
3answers
707 views

How do I split a date?

I need to split a date (German format) and store its single elements in variables (to use it in TikZ-calendar). A German formatted date looks like 23.01.2012 (Day.Month.Year), so I could use the dots ...
6
votes
5answers
1k 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 ...
5
votes
1answer
1k views

Date plot using pgfplots with odd tick label

How do I make the time label in the following image appear as "10:00" (i.e. 10 o'clock) rather than the unexpected and unwelcome "09:60"? Here's the code that I am using: \documentclass{beamer} ...
1
vote
1answer
91 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 ...
49
votes
2answers
50k 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 ...
35
votes
2answers
12k views

How can I typeset the date/time at compile time?

For printed drafts of my papers, I would like to add a timestamp on every page with the date/time when the document was last compiled. Is there any LaTeX command that produces the current date/time at ...
28
votes
3answers
1k 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?
23
votes
2answers
1k views

Date calculations

I'm building a LaTeX document that helps me to formulate quotations for my customers. Since I decided to offer monthly recurring payments I'd like to have payment dates calculated automatically ...
33
votes
2answers
1k views

How to implement a \tomorrow in latex

I was asked how to implement a \tomorrow macro in TeX/LaTeX. While I could come up with a reasonably good solution, working for one document class, I don't see how that could be achieved in a document ...
14
votes
2answers
532 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} ... ...
8
votes
1answer
331 views

Require a certain (or later) version of a package?

Is there a way to enforce that a certain version, or a later version, of a package is loaded when building the document? I've found that compiling a document on another platform, where the package ...
2
votes
4answers
210 views

Can (La)TeX compare the time stamps of two external files?

Scenario I have a bunch of standalone PSTricks files. Each of those files can be compiled by latex-dvips-ps2pdf-pdfcrop-pdftops to produce a PDF image. I have made a batch file to do ...
17
votes
2answers
632 views

Handling different time zones

I'm looking for a way to handle date/times with different time zones. For example in svn-multi and filemod a date and time with a timezone is returned. I like to be able to compare times in different ...
14
votes
3answers
451 views

How to make time-dependent code?

I would like to create a command \ifafter{year}{month}{day}{yes}{no} so that if the current date is after year/month/day, the command would produce yes, and otherwise produce no. I came up with a ...
2
votes
2answers
722 views

Clock with powerdot and beamer

I would like to use powerdot to compose a document. I want to have a clock in the pdf file, but it does not show. If I am using Beamer, then how can I have a clock as in powerdot? Please help me. ...
8
votes
1answer
325 views

Getting origyear to work in biblatex

I have just switched from natbib to biblatex, because I wanted to add translator entries to my bibliography. I am now trying to get origyear to work. Before my entry was like this: ...
7
votes
1answer
103 views

biblatex: getting rid of ›nodate‹ where it's inappropriate

biblatex now has the habit of printing an (n.d.) ("no date") when a publication doesn't come with a date of publication specified, as is the case sometimes with grey literature and other obscure ...
7
votes
1answer
187 views

Are the datetime package and the memoir class known to conflict?

Using the \formatdate macro from the datetime package within a \date definition seems to break when using the memoir class. Is this just something strange that I'm doing because it seems reasonable. ...
2
votes
1answer
120 views

Datetime capitalize month

I'm using the datetime package. How could I have a date format with the month name in capital letters? \usepackage{datetime} % some code here \newdateformat{mifecha}{Bilbao, a \THEDAY~de ...
2
votes
1answer
124 views

Inserting day of the week into custom datetime format

I'm using a custom datetime format and a custom environment to generate a list of dates (for a course syllabus), and would like to modify it a bit more to add the abbreviated day name after the ...
2
votes
1answer
479 views

How to generate the date in portuguese?

TexStudio will generate the date like "December 8, 2012", and I need it to generate in Portuguese, like "8 de Dezembro de 2012". How can I configure that? (isodate package doesn't contain Portuguese) ...
2
votes
1answer
471 views

datetime and datenumber package conflict?

Background Trying to include a date two days in the future from when the content was generated. Problem The following results in an empty day name: \usepackage{datetime} \usepackage{datenumber} % ...