saurabh suryavanshisaurabhsuryavanshi.hashnode.dev·Nov 4, 2023Unravelling the Intricacies of the JavaScript Date Class for BeginnersNavigating the temporal waters of programming can often be daunting for novices. In the realm of JavaScript, managing dates and times is a vital skill, and this is where the JavaScript Date class comes into play. As a college student taking your firs...Discussdatetime
Prajwal Haniyaprajwalhaniya.hashnode.dev·Oct 29, 2023A simple guide for working with dates in JavaScript | Techletter #47JavaScript comes with a built-in date object. By default, new Date() creates an object corresponding to the current date and time. This will be created according to the current computer’s system settings. const presentDate = new Date(); console.log(p...Discussdatetime
Rajasekarrajasekar.dev·Oct 25, 2023Angular convert UTC date to local dateRecently I came across a situation where we needed to convert the given UTC datetime to the user's local datetime. The solution should be simple and expected to work for Daylight saving time (DST). The date value is coming from API to Angular and the...DiscussAngular
prettyprintintfloatandwhatnot.hashnode.dev·Oct 24, 2023Basic java dateMost used Java date conversions - format and parse.Accomplished using DateFormat Class and pattern Format - Convert util.Date object to String String pattern = "yyyy-mm-dd HH:mm:ss"; SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern); ...Discuss1 2 3 of JavaJava
Vivek Khatritech.peculiarvivek.com·Oct 24, 2023Building and Deploying a simple fastapi appEdit: Shifted to Vercel for deployment Uhh...so I built a small project, so small that I cannot even call it a microservice, it is a nano-service, deployed on render, on a free-tier compute service that automatically goes down after a few hours of in...Discuss·2 likesFastAPI
Omprakash Chauhanom-chauhan.hashnode.dev·Oct 18, 2023Best Practices for Date and Time Formatting in Flutter using intl PackageIntroduction📣 DateTime manipulation and formatting are essential skills for any mobile app developer, especially when working with date and time-related data. Flutter, a popular cross-platform framework, provides powerful tools for handling DateTime...DiscussFlutter
Bijay Subediwww.bijaysubedi.com·Sep 18, 2023Naive and Aware DateTime PythonDateTime module in Python is the equivalent of date and time in the human world. DateTime objects are used to work with Date and Time in Python programming. Five classes can be used if you are required to work with date and time objects. The classes ...Discuss·30 readsPython
Andrew Dassandrewdass.hashnode.dev·Aug 12, 2023How to make a Timer in PythonOverview This article will explain how to write a Python script to create a countdown timer by using the "datetime" module. An optional module that is also used in this script is "time" which creates a delay between executing consecutive commands. Ma...Discuss·51 readsPython
Sean Kegelseankegel.com·Aug 6, 2023Carbon PHP Quick TipRecently, I was working on handling API responses and I wanted to pass them to a DTO. One of the fields was an optional deleted_at column. In my DTO, I wanted that to be converted to a Carbon datetime object. Carbon comes packaged with Laravel, but c...Discuss·42 readsPHP
Sylvain FabreforAssoConnect Technical Blogtech.assoconnect.com·Aug 3, 2023Our PHP TimeTraveler to address DateTime::modify() pitfallsEverybody knows the PHP native method DateTime::modify() The DateTime extension supports awesome modifiers like "2 days ago", "last day of this month", ... or basic ones like "+1 month". But the last one is actually tricky: it increments the month va...Discussdatetime