Grant Winney
  • About
  • Coding 💻
  • Dev Life 🤓
  • Dev Questions ❓
  • Tech :: Inspired 🌱

Date-Time Handling  

TWIL vol.6 (GitHub, 2FA... and lunar standard time?)

TWIL vol.6 (GitHub, 2FA... and lunar standard time?)

This week I learned that GitHub wasn't requiring 2FA yet (but will soon), and the moon may need its own timezones (to the dismay of devs everywhere).
Grant Winney Mar 17, 2023
How do I add seconds, minutes, or hours to a DateTime structure in Erlang?

How do I add seconds, minutes, or hours to a DateTime structure in Erlang?

Ruby gives you 12 ways to do anything. Erlang makes it tough to find one. Awhile back, I was trying to add time to an existing DateTime value, but I couldn't find a function (such as in the Calendar module) that allowed me to manipulate a DateTime value directly. Here's how I ended up doing it.
Grant Winney Nov 30, 2019
A few thoughts on date/time handling in Erlang

A few thoughts on date/time handling in Erlang

Handling date and times is a thorn in every experienced developer's side. If you haven't had the pleasure yet, you will. ;) Coming off a week of standardizing some datetimes across an Erlang app, here's a few personal thoughts.
Grant Winney Sep 3, 2018
A few tips for handling and manipulating timezones

A few tips for handling and manipulating timezones

Some issues transcend programming language, equally tripping up developers across the board... * Regular expressions (try validating an email address... [https://stackoverflow.com/q/201323/301857]) * SQL injection [https://www.owasp.org/index.php/SQL_Injection] (NEVER run a user's input through your database without sanitizing it) * Using floating types for
Grant Winney Jul 9, 2017

Let's learn together!

* indicates required
Send me new blog posts:

  • Contact
  • Privacy
  • License
  • Cross-Posting
Grant Winney © 2023. Powered by Ghost