This Week's Trending
This Month's Trending
This Year's Trending
I have been reading the docs for Elixir’s Date/DateTime libraries but I cannot find a way to calculate a date which is either N months or...
New
Is it not a right method to compare naive date time values using basic operators like > and < ?
I get wrong answers when I compare...
New
This has been vexing me for a couple of days now, and I finally had a breakthrough. When I’m done with the explanation, please tell me: i...
New
I noticed some weird anomalies in a dataset.
Turns out I was mixing Postgres and Elixir numbers.
DateTime.diff(~U[2026-03-18 05:50:08.6...
New
Last Three Year's Trending
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Hi,
I try to retrieve the first and last day of previous month to build a query with a range date.
Right now I’m doing this:
def foo(%...
New
While being at it.
Not clear about the Date(time) in Explorer anyway. I wrote it as utc_datetime in the SQLite with Ecto. Than in the DB...
New
I have been searching for a way to deal with datetime values coming from forms. The datetime-local input does not care about time zones, ...
New
In Elixir core is there a function to check if a given timezone is valid?
I’m mainly looking at DateTime and Calendar but as far as I ca...
New
Hello!
I am a BEGINNER and apologize in advance for the elementary questions.
I want to do some data transformations to a dataframe in ...
New
Hello,
I am trying to work with DateTimes over leap seconds. I can’t create a %DateTime{} object on a leap second.
When using Tz I stil...
New
In our journey I found myself questioning of any toolset in Elixir that parses Natural Language to Datetimes, Duration and Relatives.
It...
New
Hi,
I have two ways of reading out an integer timestamp (in milliseconds) that seem to give the exact same values:
DateTime.utc_now() |...
New
I have a UTC datetime from a timestamptz PostgreSQL column, and am trying to:
convert it to the user’s timezone;
output a localised str...
New
Trending Over Three Years
Hello, I get Persian date from my client and convert it to normal calendar like this:
def jalali_string_to_miladi_english_number(persi...
New
Hi all,
Trying to get some more clarity over utc_datetime and naive_datetime for Ecto:
https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
Hello,
I have a query, where I’d like to grab all records still in the future.
def get_scheduled_notification_pushes_from_date(date\\...
New
Hi! I want to display lots of DateTime struct in users local timezone. Is there a standard way of doing that?
I see two options:
getti...
New
I have some tests which depends on current time and am not able to find a solution for it so far. I have tried some mocking libraries lik...
New
DateTime documentation contains the following sentence:
If you want to get the current time in Unix seconds, do not do DateTime.utc_now...
New
Hi everyone!
I work for a French company and, with our marine territories, our customers live in many timezones. So I’m wondering what i...
New
Hello, Im using Timex lib in order to create custom time which I need. for example I need something like this:
"Mon, 29 Oct 2018 23:38:5...
New
Hi!
I want to make a schedule a job for sending emails or texting messages.
And I found rihanna.
But before do that, I need a more und...
New
I found various topics discussing the differences and similarities between :naive_datetime and :utc_datetime, namely:
In addition, ...
New
Coming from Rails, we used to have the feature where we could specify date / time / timestamp formats in our translation files, and then ...
New
Hi all,
I am doing a Stripe integration and I would like to send a scheduled email to the customer. It should be scheduled to a given ti...
New
Hi! I spent a long time trying to figure out the best way to get all entries in a specific date range. So wanted to share my solution and...
New
I has a DateTime with a tz different of UTC and I need to update your hour, I used Map.put to this: Map.put dt, : hour, 5. Is there a bes...
New
Hello,
I just ran the following code to time how long a part of a function takes to execute:
time1 = NaiveDateTime.utc_now
...some cod...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







