{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
21 views

datetime (fmtcount) problem with \ordinalnum

I'm using \ordinalnum with datetime package (the same with fmtcount package), but in french, the height & the size of the superscript using \ordinalnum are different from those of (for exemple) ...
6
votes
1answer
67 views

Add (n) working days to a specific date

My g-brief will contain something like "I have noted a deadline for your answer of ten working days until...". Is there a package or way to add n working-days (ie. mon-fri, let's not over complicate ...
1
vote
1answer
19 views

Omitting date when exporting from org-mode

How can I omit the date from being displayed when exporting to LaTeX from emacs org-mode? This (within the .org file) works to omit the date when exporting to ascii: #+OPTIONS: timestamp nil But ...
5
votes
1answer
80 views

LaTeX \usepackage{datetime} and \usepackage{scrtime} are off by an hour

I want to print the current time in my LaTeX file but both \usepackage{datetime} and \usepackage{scrtime} show the wrong time. Can I correct to a different time zone? Adjust for daylight savings? I ...
3
votes
1answer
79 views

How to use \date{\today} without using \maketitle?

I am making my own title page. I'd like Latex to display the date automatically using \date{\today} but this does not work, since I am not doing \maketitle So instead of setting the date manually ...
3
votes
0answers
77 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
50 views

Lost my title page, author and date

I remember when I did type in LaTex before it would give me a front page to the document which said Title and a date.. Now it just begins right from the document body itself. No Author, No date, No ...
8
votes
0answers
77 views

Make an index of historical time periods

I'm writing my thesis & I want to make an index with centuries, years, month, day, event & historical periods. So I try to build some commands, but unsatisfactory, I'm looking for your help. ...
4
votes
1answer
105 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?
4
votes
1answer
42 views

Memoir class conflict with datetime

Hi I'm running into a warning when trying to call the datetime package within a document using the memoir class. MWE is: \documentclass{memoir} \usepackage{datetime} \begin{document} Hello World ...
0
votes
3answers
97 views

how to autoupdate date on beamer pdf

It is not uncommon (at least for me ) to compile pdf a day before. It is also not uncommon to use same pdf on some other day. So it would be handy if pdf produced displays the system date on which it ...
1
vote
1answer
101 views

Print current date without updating

I am trying to keep a journal-type file using TeX. I would like to create a template in which I need not manually enter the date each day. Example: January 26, 2014 Entry for the day here. January ...
9
votes
1answer
101 views

Save a time for later use

In the datetime package, we have the command \newdate which allows you to save a date for later use. In the same line, without thinking much, I tried to use: \newtime{examstart}{09}{00} and was ...
0
votes
1answer
73 views

The date doesn't appear properly in the \date{} command

Instead of using \today , I have used \date{} command to specify another date.But it doesn't appear , it generates some other output like "[3cm]" in the place of date.Here is the title page's code: ...
6
votes
1answer
92 views

Graph with date x-axis: How to show non-military time?

Sample code: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \pagestyle{empty} \usepgfplotslibrary{dateplot} \begin{document} % requires \usepgfplotslibrary{dateplot} ! ...
5
votes
1answer
77 views

how to get the current month in two languages?

from time to time, a current month value has to be updated. it is a din a4 page, which includes german and english text. at the end of the page, only the month and year (without a day) is given. ...
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?
3
votes
0answers
37 views

advdate and skip dates based on holidays

I am following up from the question here. My main purpose is to write a syllabus and schedule for a class that meets only on certain days of the week accounting for some holidays. In this question, I ...
2
votes
1answer
166 views

advancedate and ifthenelse in latex

I am trying to write a course syllabus for a class that meets only certain days of the week (M, W). I want to check the day of the class and advance it by 2 days or 5 days depending on the day. The ...
4
votes
0answers
120 views

Tick labels in pgfplots data time format

I tried to plot a data set containing seconds and milliseconds with pgfplots. I’ve found a solution for my task here (pgfplots data time format), which I changed a bit. This principally works very ...
5
votes
2answers
163 views

Biblatex urldate set to today

When writing a document I want the urldate (the date of visit) of online bibliographical entries set to the day of compilation. Consider the following MWE: \documentclass{article} ...
7
votes
1answer
263 views

Changing The Date Location On A Letter

I'm using the document class scrlttr2 to make a cover letter, but since it's a business letter the date needs to be left-justified and above the address. By using the work-around here I was able to ...
5
votes
2answers
107 views

How can I display date information in document class “amsproc”?

I tried to display the date information by the command \date{June, 2013} in document class "amsproc", but failed. How to fix this problem? Here is my LaTeX code: \documentclass{amsproc} ...
4
votes
1answer
208 views

Problem with boxes in tdclock

I have problem with tdclock. In one post I saw, it can be removed by some commands. Can anyone help me how to do that. Do I need to put those commands in CMD or some other? Please help me.
13
votes
4answers
533 views

UNIX timestamp (= seconds since 1/1/1970) in document?

I would like to include a so-called UNIX timestamp in my document. All technicalities aside, it's basically the number of seconds since 1/1/1970 0:00 UTC aka "the epoch". (At the time of me writing ...
6
votes
2answers
177 views

How to make a lowercase month name with \today

All I wish to do is to use \today to output in the format "18 november 2013". With the datetime package I can get to "18 November 2013" with: ...
2
votes
1answer
123 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 ...
0
votes
0answers
70 views

Can I have another choice to add the time in beamer except the tdclock

Last time, I question that the sumatrapdf cannot show the time. you can see sumatrapdf question And I get the answer it doesn't support the java. Then I use the Adbreader,it's ok. Now, Regardless ...
4
votes
1answer
366 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 ...
1
vote
1answer
204 views

datetime plot in pgfplot using gnuplot

I have a large data file with several columns wherein the first column is a date and time in the format, 'yyyy-mm-dd hh:MM' and the rest are numerical values of different variables. I often have ...
9
votes
3answers
259 views

Possible ways to format a specific century in LaTeX?

I'm writing I little bit of history in my report and I wonder which are the possible ways to format a century in LaTeX (e.g XX century) and in typography which is the most used and accepted. This is ...
2
votes
0answers
106 views

Is there any package like tdclock which can be used in SumatraPDF

I find some errors when using \usepackage[timeinterval=1]{tdclock}while opening the SumatraPDF. As zeniko says The tdclock package only works in PDF readers supporting JavaScript, which ...
2
votes
1answer
81 views

Biblatex: Date-Fields B.C.

If I wanted to quote a book written 45 B.C. - how would I have to enter the year in fields like origyear or year to cite (and list it in the bibliography) accordingly? Using the authoryear-style …
1
vote
1answer
74 views

mysterious 0 when using \formatdate

I'm writing my resume using a template and I wanted my some of the dates to be presented as e.g. 14th October I got it displayed like that using. \usepackage[UKenglish,nodayofweek]{datetime} and ...
5
votes
1answer
118 views

Capitalization of datetime format

In languages like dutch, the first letter of the names of days and months are not capitalized unless they occur as the first character of a sentence. So I added the following code in the preamble of ...
3
votes
1answer
85 views

How to display two different dates on my title page?

My aim is to display both the experiment and the report date on the title page of my report; how can I achieve my goal? Edit: Part of my code before the main part is as follows: ...
7
votes
1answer
157 views

Is it possible to parse a date string in LaTeX to convert it to a different date format?

I’m using svn-multi to include the date of the most recent Subversion commit of my documents. However, the string has the format 2013-10-13 11:05:51 +0200 (Sun, 13 Oct 2013). Is it possible to convert ...
3
votes
1answer
73 views

how to specify a date and then use it with a time format defined using the package datetime

I have a document in which I have some date and time formats defined using the package datetime. Specifically, I have something such as the following in the preamble: ...
12
votes
2answers
138 views

force \today to use EST

I'm using ShareLaTeX, which, for those who don't know, is a website that compiles LaTeX on a server. The issue is that when I type \today, it gives my the date of the server. So, for example, right ...
7
votes
1answer
106 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 ...
0
votes
0answers
183 views

Date column in moderncv

I am writing my cv and with the following code \documentclass[11pt,a4paper]{moderncv} \moderncvtheme[green]{classic} \usepackage[utf8]{inputenc} ...
2
votes
1answer
91 views

Ordinal date in section

\monthname[10] \ordinaldate{10} produces October 10th, as expected. But once I put it into a section, I get this error: ! Argument of \@ordinalnum has an extra }. <inserted text> ...
6
votes
1answer
120 views

Dynamically change language for datetime

I am building a fairly complex letter template as article-extending class, which needs to be able to understand two languages (English and German). This is implemented via babel (with both ngerman and ...
3
votes
1answer
78 views

How can I date my entries into a latex document? (Not just one date, but several dates)

I know the \date command inserts a date in the title, but as I keep working on this document of mine I want to be able to keep a record of what I wrote on each day. I've been simply writing the date ...
8
votes
4answers
683 views

Formatting dates “day month year” with biblatex

What is the correct way to have “day month year” formatting in biblatex? Given this document: \documentclass{article} \usepackage[backend=biber,dateabbrev=false]{biblatex} ...
2
votes
1answer
127 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
98 views

Making a list with dates for labels, automatically skipping days

I'm making my first syllabus in LaTeX and would like to know if there is a LaTeX-y way to generate the course schedule. Something like: 7/5 Friday: Read blah 7/8 Monday: Blah 7/10 ...
1
vote
1answer
93 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 ...
4
votes
1answer
203 views

How to print a given date with an abbreviated month

The best I've been able to do is with isodate. It's the only package I've been able to find that works on arbitrary dates. \usepackage[orig, british, cleanlook]{isodate} \printdate{2013-06-28} ...
22
votes
4answers
525 views

Day of the year

I'm using the day of the year a lot in my documents and I wonder if I can have LaTex calculating it for me? Example: 2013178 where 2013 is (surprise) the current year (which I know could be achieved ...