{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

6
votes
1answer
172 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
122 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. ...
30
votes
3answers
7k 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
67 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
291 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 ...
5
votes
0answers
214 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
777 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
921 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
171 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
416 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
711 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
549 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
250 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
87 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
977 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
326 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
452 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
126 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
120 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
98 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
151 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
134 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
263 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
134 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
166 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 ...
8
votes
1answer
172 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
385 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
138 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
173 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
85 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 ...
9
votes
4answers
2k 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
171 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
129 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
169 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
375 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} ...
23
votes
4answers
576 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 ...
9
votes
1answer
550 views

Adding several labels (year/month) to a graph in pgfplots

I would like to add several labels to a plot in pgfplots: one label for the month and one for the year, just like in this graph: I tried to use the extra tick label, but I don't know how it is ...
4
votes
1answer
203 views

Increasing dateplot's resolution to seconds

These three dots should be spread out over a period of 50 seconds, but for some reason they all appear at 13:00:30. \documentclass{minimal} \usepackage{pgfplots} \usepgfplotslibrary{dateplot} ...
6
votes
2answers
2k views

how to add a current date, place and signature to the cv

I am using the template from here https://www.sharelatex.com/templates/cv/moderncv-classic/ I wanted texworks to add the latest date and also place and signature(.jpg item) everytime I typeset my cv ...
5
votes
2answers
463 views

Timestamp in document / pdf name

Let's assume my document is called test.tex. Instead of creating a test.pdf I would like to add a suffix date stamp to the filename, e.g. test_2013_05_29 (test_yyyy_mm_dd). I am compiling with ...
3
votes
1answer
153 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
8k 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
158 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
225 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
179 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
93 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
148 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
196 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
110 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 ...