{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

3
votes
1answer
166 views

How to set a first draft date and a current draft date?

I want to insert two dates into my article class TeX file: first draft date and current draft date, how can I achieve that? In most examples that I see in pdf form, it centers on the page the ...
9
votes
2answers
10k views

\today month as text

I have this code: \documentclass{article} \usepackage[a5paper]{geometry} \usepackage[ddmmyyyy]{datetime} \renewcommand{\dateseparator}{.} \begin{document} \today \end{document} Prints: How can I ...
3
votes
1answer
161 views

How to write a date interval? [duplicate]

What is a correct way of writing a date interval? a) Jun 2010 -- Aug 2012 b) Jun 2010--Aug 2012 c) Jun 2010 - Aug 2012 d) Jun 2010-Aug 2012 c) other?
8
votes
1answer
266 views

Problems with BibLaTeX and origyear in bibliography

This is my first time posting a question here so please excuse some mistakes. What I want to do is to cite something with its original publication year and have it appear as such in my bibliography. I ...
3
votes
0answers
49 views

How to make pdf show current date? [duplicate]

Is there a way to make a pdf show the current date (not the date when it was compiled, but when it was opened/printed)? I'm making some sign sheets and it would be great if I could put the date in ...
5
votes
1answer
191 views

(missing space in) “today” formatting in Polish using polyglossia

Just discovered TeX few days ago :) Experimenting a lot now. I am trying to make a template for my thesis (which is going to use quotations and bibliography in a good few languages and some serious ...
0
votes
1answer
94 views

Omitting the date from auto insert template and modifying the items to sentence case

I am using a template which insert the date automatically. How I can remove the date? Besides, in itemizing it in upper case and put the text in center. I would like to have items in a sentence case ...
2
votes
0answers
155 views

Generating pdf files that are “viewing-time” or current system-time dependent [closed]

The \FpEval{}{} function which can be used to do computations, and store the result in a variable, in latex. For details, kindly see How can I sum two values and store the result in other variable? . ...
4
votes
1answer
217 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 ...
4
votes
0answers
111 views

Time plot with pgfplots [duplicate]

I tried to plot this type of data x y 00:00 99.42 00:15 99.44 00:30 99.41 00:45 99.37 01:00 99.00 01:15 99.29 01:30 99.51 01:45 99.58 02:00 99.49 02:15 99.50 ...
7
votes
2answers
89 views

Using calc and \year to get the years from a start date automatically in text?

I would like to say, "I have played piano for 23 years" -- but this document will have to be changed every year so I remember to make it 23, then 24, then 25. Is there a way to do something like: I ...
1
vote
2answers
948 views

Is it possible to make LaTeX retrieve date information from system clock?

Well, this question is pretty weird ;) I know TeX is strictly sandboxed, but I guess there is at least some possibility? After all, system clock (for instance, UNIX time on UNIX-like systems) is only ...
6
votes
2answers
171 views

Date declaration in datenumber

In the following MWE, \today prints the date in British format, e.g. 14th January 2013. However, \datedate prints the date as January 28, 2013. I wonder how the latter can be changed to the former. ...
11
votes
1answer
2k views

How to write date and time in footer

I am writing a report in which i need to write date and time in the footer. How do I write date and time in footer? like Jan 8, 2013 5:45 PM
8
votes
1answer
442 views

How can I make a graph with irregular time/date intervals on the x-axis?

I have a data set that has values for a set of dates, but these dates don't have a regular interval (i.e. 1 Feb., 3 Feb., 15 Feb., 5 March) . So my question is: is there a package or other method to ...
1
vote
0answers
96 views

Include Date in Table of Contents of Combine Document [closed]

Is it possible to include the date in the Table of Contents when using the combine class? I have a document that is a collection of many articles that have been written over a long period of time and ...
9
votes
2answers
781 views

Query regarding usage of \date

Hi I am using Texmaker to create some documents. When I use \date{text} the text being any date, and then run the .tex file I don't see the date in the PDF file. It's just blank. Not sure why. Is ...
9
votes
1answer
150 views

Does \today use the system clock or take time off of a time server?

I would like to know whether \today gets time off of a time server or the system clock, and when. Does it get the time when compiling? Upon viewing the document created?
35
votes
2answers
2k 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 ...
2
votes
1answer
1k 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) ...
4
votes
1answer
342 views

Why does latex think it's tomorrow already?

Strange problem here: Brandon@forge ~/Dropbox/research.local/oil $ date Tue, Nov 27, 2012 6:14:23 PM Brandon@forge ~/Dropbox/research.local/oil $ cat <<EOF | pdflatex \documentclass{article} ...
3
votes
1answer
668 views

Month Name in Upper case [duplicate]

Possible Duplicate: How do I “unprotect” an argument? I'm trying to print date at title page of a document as NOVEMBER 2012. I'm using the datetime package to format the date as month ...
3
votes
1answer
617 views

Typesetting time

I want to typeset time so it looks beautiful. Here's my first attempt: \documentclass[a5paper,11pt,landscape,parskip]{scrartcl} \usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm]{geometry} ...
5
votes
1answer
150 views

keep svninfo package from overwriting \today?

I use the package svninfo to put the svn revision on my title page so that I know which version people are looking at when they give me feedback. My titlepage also contains the current date though ...
9
votes
2answers
647 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 ...
5
votes
1answer
416 views

\date command - replacing “Date:” by something else

I'm using \documentclass{amsart}. In the tex file, before \maketitle I write \date{22th october 2012}, and then I obtain "Date: 22th october 2012." as a result. Using \date, I want it to print ...
7
votes
1answer
246 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. ...
8
votes
2answers
312 views

Getting rid of numbers

How would I get rid of the date, and the numbers 1 and 2? My latex code is below. I cant post images as Im a new user, sorry! \documentclass[10pt]{article} \begin{document} \title{Banana Cake} ...
2
votes
2answers
996 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. ...
3
votes
1answer
236 views

How to create counters that display and increment dates in ConTeXt?

I need to create a document that has section titles named "October 1, 2012", "October 2, 2012", etc., like this: \section{October 1, 2012} This is text for the first day. \section{October 2, ...
5
votes
1answer
321 views

Format date without year

Using \formatdate from datetime, I can get a date properly formatted in multiple languages: \formatdate{3}{4}{2012} However, I would like to only use the day and month and leave the year behind. ...
4
votes
1answer
119 views

Expanding command in \addchaptertocentry

I'm using a counter to increment months in a journal and the datetime package to turn the counter into months. The months then become chapter titles in the document, so I have something like this: ...
5
votes
2answers
3k 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: ...
7
votes
2answers
278 views

Extract year from parameter containing date [duplicate]

Possible Duplicate: How do I split a date? Does anyone know how to extract year from date in parameter of own macro? Namely, \themacro#1{...} where #1 contain either date already in ...
6
votes
1answer
457 views

Original date of publication in Biblatex

I am using a bibliography that contains items with the original date of publication, as well as the modern reprint. A typical entry, for instance is: @book{Mill1965, author = {Mill, John Stuart}, ...
3
votes
1answer
741 views

Passing day, month and year to my macro

I just wanted to ask, how to do something like this - I have my own macro, that needs custom date passed as arguments: \newcommand{\introduction}[3]{ This is regarding your loan application that was ...
3
votes
1answer
234 views

date not in title page, can't find isodate package

Between begin and end titlepage, I use \date{\today}. C-c C-c does not complain, but no date shows up. I saw another guy using isodate, but I don't have that package. On aptitude search ~n^texlive, ...
8
votes
1answer
487 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: ...
22
votes
1answer
2k 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. ...
9
votes
2answers
846 views

Date format in text and address block

In my generated letter I use \formatdate{\MDay}{\MMonth}{\MYear}. In header I specific \usepackage[nodayofweek,level]{datetime}. I have got then date like 10th May, 2012, but I would like only 10th ...
17
votes
3answers
1k 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 ?
5
votes
1answer
509 views

Creating a simple table article; multi line table headings, display date on same line as caption and double underlines

I have written my first LaTeX document, and although it broadly looks like how I want it to, I want to polish it further to give it a bit more of a profession look - alas, this si where I have come ...
1
vote
1answer
317 views

Is my \date broken?

When using \date{}, I get this weird result: (I've blurred out some parts, since they're, well, sensitive for me) Why is it doing this? I'm using isodate, but it's not the issue, I've commented it ...
6
votes
3answers
674 views

Why does \today crash in Tufte-LaTeX using 'isodate' when passed as an argument?

I'm trying to use the isodate package with Tufte-LaTeX, but get ! Illegal parameter number in definition of \reserved@a. when I use \today as an argument to certain functions (e.g. \printdate or ...
11
votes
1answer
469 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 ...
7
votes
1answer
1k views

pgfplots dateplot: automated labels on full hours?

I have some data as a function of time. I plot it using dateplot from the pgfplots package. I would like to have x labels in hours and minutes. For every day, I would like to have an additional ...
0
votes
1answer
183 views

date interpretation from numbers to regular

I was wondering if there exists such a package, or an option, to write the date in the form 31.1.2012 for example, and then have LaTeX present it as "January 31, 2012". I am actually using LyX and ...
6
votes
2answers
266 views

How to get datetime to print “12.34pm”, not “12:34 noon”, at 34 minutes past noon?

When it uses the 12-hour clock, datetime prints "noon" instead of "pm" when the time is between 12 noon and 1pm. Probably a bug rather than by design? How can it be made to print "12.34pm" rather ...
12
votes
3answers
925 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 ...
15
votes
2answers
651 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} ... ...