What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-09-15 05:39:02
excel vba range.text
'Go with: Range.Value2 '<------Best way 'It is almost always the best choice to read from or 'write to an Excel cell or a range... from VBA. 'Each of the following can be used to read from a range: v = [a1] v = [a1].Value v = [a1].Value2 v = [a1].Tex... Add solution -
PHP 2021-09-14 00:14:02
php change date format
To convert the date-time format PHP provides strtotime() and date() function. We change the date format from one format to another. Change YYYY-MM-DD to DD-MM-YYYY <? php. $currDate = "2020-04-18"; $changeDate = date("d-m-Y", strto... Add solution -
Shell/Bash 2021-09-13 17:23:02
jq for html
Install pup command for structuring in html format outputs into lines: brew install pup Then you can use pup command to split, parse or wrap html outputs: cat file.html | pup #html is parsed into an optimally visible format cat file.html | pup 'span#See_a... Add solution -
Shell/Bash 2021-09-10 21:18:02
shell script current time
#!/bin/bash now="$(date)" printf "Current date and time %s\n" "$now" now="$(date +'%d/%m/%Y')" printf "Current date in dd/mm/yyyy format %s\n" "$now" echo "Starting backup at $... Add solution -
Other 2021-09-10 14:44:04
how to make jtextfield accept only numbers
NumberFormat format = NumberFormat.getInstance(); NumberFormatter formatter = new NumberFormatter(format); formatter.setValueClass(Integer.class); formatter.setMinimum(0); formatter.setMaximum(Integer.MAX_VALUE); formatter.setAllow... Add solution