React Native | INC1.net

INC1.net

Developer blog

Category: React Native

Converting a date to ISO format from PostgreSQL timestamp with time zone in React Native.

October 30, 2024October 30, 2024 AlexanderReact Native

The toISOFormat function in React Native with TypeScript converts a date in the format 2024-10-25 14:51:27.056551+03 to ISO format (e.g., 2024-10-25T14:51:27+03:00). It takes a date string, extracts the components using a regular expression, and throws an error if the format…

Read More→

Get the number of years with correct declension from the current moment in TypeScript on React Native.

October 30, 2024October 30, 2024 AlexanderReact Native

The getAgeString function takes an age as a number and returns a string with the correct grammatical form of the age in Russian. How does it work? Usage example This function is convenient for displaying age in user interfaces of…

Read More→

  • Русский

Recent Posts

  • Converting a date to ISO format from PostgreSQL timestamp with time zone in React Native.
  • Get the number of years with correct declension from the current moment in TypeScript on React Native.
  • Number of hits to the WordPress database
  • PHP page generation speed
  • Install Nginx, PHP, MySQL (Mariadb) on Ubuntu

Archives

  • October 2024
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018

Categories

  • AJAX
  • Bot
  • Domains
  • Java
  • JavaScript
  • jQuery
  • JSON
  • MariaDB
  • MySQL
  • NGINX
  • PERL
  • pgAdmin
  • PHP
  • React Native
  • ubuntu
  • WebDriver
  • WordPress

RSS Entries RSS

  • Преобразование даты в ISO из PostgreSql timestampwtz React Native
Copyright © All rights reserved.
Blog Kit by WP Charms