4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:date — newest first
  • go - How to format current time using a yyyyMMddHHmmss format? - Stack Overflow

    t := time.Now()
    formatted := fmt.Sprintf("%d-%02d-%02dT%02d:%02d:%02d",
    t.Year(), t.Month(), t.Day(),
    t.Hour(), t.Minute(), t.Second())

    November 14, 2022 - permalink - https://stackoverflow.com/questions/20234104/how-to-format-current-time-using-a-yyyymmddhhmmss-format
    date go now time
  • Note: bash date

    date +%Y-%m-%d_%H-%M-%S

    June 5, 2020 - permalink - https://links.infomee.fr/shaare/jh3dRw
    bash date
  • Note:

    datetime.date.today().strftime("%Y-%m-%d")
    datetime.datetime.now().strftime("%Y-%m-%d %H:%M")

    March 24, 2020 - permalink - https://links.infomee.fr/shaare/Aw6ttQ
    date python
  • java - What is this date format? 2011-08-12T20:17:46.384Z - Stack Overflow

    TIL :

    What is this date format? 2011-08-12T20:17:46.384

    The T is just a literal to separate the date from the time, and the Z means "zero hour offset" also known as "Zulu time" (UTC). If your strings always have a "Z" you can use

    December 28, 2016 - permalink - http://stackoverflow.com/questions/8405087/what-is-this-date-format-2011-08-12t201746-384z
    date format
  • Note: date

    $ date "+%F %T"
    2016-05-24 16:02:07

    May 24, 2016 - permalink - https://links.infomee.fr/shaare/SP2ltw
    date
  • quoting - How can I execute `date` inside of a cron tab job? - Unix & Linux Stack Exchange

    The "sixth" field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (), will be changed into newline charac- ters, and all data after the first % will be sent to the command as standard input.

    February 16, 2016 - permalink - http://unix.stackexchange.com/questions/29578/how-can-i-execute-date-inside-of-a-cron-tab-job
    cron crontab date escape
  • Properly calculating time differences in JavaScript | synyx - Blog
    November 7, 2012 - permalink - http://blog.synyx.de/2012/11/properly-calculating-time-differences-in-javascript/
    date js
  • Blog Stéphane Bortzmeyer: Administration de machines Unix dans plusieurs fuseaux horaires

    un article pour se décider dans quel timezone configurer ses serveurs linux et quelques astuces si on choisit le format UTC

    January 8, 2012 - permalink - http://www.bortzmeyer.org/date-utc.html
    date linux timezone unix
  • PHP - Les dates

    Apprenez à utiliser les fonctions de gestion des dates en PHP.

    January 23, 2011 - permalink - http://www.vulgarisation-informatique.com/dates-php.php
    date php