본문 바로가기

꾸준하게, 차근차근

검색하기
꾸준하게, 차근차근
프로필사진 jn4624

  • 분류 전체보기 (73)
    • Architecture (4)
    • Database (8)
    • Error (4)
    • Java (27)
    • JS&jQuery (6)
    • Linux (6)
    • Redis (11)
    • Spring (3)
    • Tomcat (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • 리눅스
  • for문
  • catalina.out
  • 톰캣
  • architecture
  • 초단위
  • jQuery
  • 제이쿼리
  • 엔티티 코드 치환
  • javascript
  • Tomcat
  • 자바스크립트
  • insert
  • Docker Compose
  • select
  • feignClient
  • 특수문자 치환
  • 자바
  • 정규식
  • Entity Code 치환
  • sftp
  • 만들면서 배우는 클린 아키텍처
  • mysql
  • redis + spring boot 함께
  • aws elasticache 활용
  • js
  • Linux
  • springboot+redis
  • docker 컨테이너로 띄우기
  • Java
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록문자열 시간 (1)

꾸준하게, 차근차근

[JS&jQuery] 문자열 시간(HH:MM:SS) 정수형 초 단위(Second)로 변환

function timeStrToSeconds(timeStr) { const [hours, minutes, seconds] = timeStr.split(":"); var resSeconds = (+hours) * 60 * 60 + (+minutes) * 60 + (+seconds); return resSeconds; } 🙏 참조 :: https://thewebdev.info/2021/05/23/how-to-convert-hhmmss-time-string-to-seconds-only-in-javascript/

JS&jQuery 2021. 9. 10. 23:15
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바