Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 20684
0 votes
2 answers
2k views

Help in converting string to datetime in correct format

I need to use a datetime in a SQL query and it expects it in format 'yyyy-MM-dd 00:00:00'. I have a string in format 'dd/MM/yyyy'. How do I get the string formatted as the query wants it? … I've tried parse and format but can't seem to get it right. Keep getting the error 'Invalid date/time: 4/10/2016 00:00:00 '. …
Irene's user avatar
  • 1,885
2 votes
1 answer
2k views

Visual Studio Code Prettier plugin for Apex not formatting VisualForce [closed]

"prettier --write" ], "**/{aura|lwc}/**": [ "eslint" ] }, "main": "index.js", "author": "", "license": "ISC" } UPDATE: The workaround I'm having to use is to manually format
Irene's user avatar
  • 1,885