What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-08-31 23:47:02
vba string to date
Dim myDate As Date, strDate As String myDate = CDate("2021-01-28") strDate = Format(myDate, "YYYY-MM-DD") ' 2021-01-28 ' String to date myDate = CDate(Format$("20210213101235", "####-##-## ##:##:##")) ' Date to... Add solution -
Python 2021-08-30 03:38:02
python person name matching
import numpy as np def levenshtein_ratio_and_distance(s, t, ratio_calc = False): """ levenshtein_ratio_and_distance: Calculates levenshtein distance between two strings. If ratio_calc = True, the function computes the ... Add solution -
Python 2021-08-29 20:38:01
how to check if a number is armstrong in python
num = 1634 # Changed num variable to string, # and calculated the length (number of digits) order = len(str(num)) # initialize sum sum = 0 # find the sum of the cube of each digit temp = num while temp > 0: digit = temp % 10 sum += digit ** o... Add solution -
Javascript 2021-08-29 08:13:02
svg css background react
import React from "react"; import "./styles.css"; import BackgroundSVG from "./backgroundSVG"; // import this to render static markup import { renderToStaticMarkup } from 'react-dom/server'; export default function App() { ... Add solution