Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Querying BusinessHours object by Time.
a guest
Mar 31st, 2015
184
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
Time t = Time.newInstance(0, 0, 0, 0);
String s = String.valueOf(t);
BusinessHours b = database.query('SELECT Id FROM BusinessHours WHERE MondayEndTime = ' + s);
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
simple youtube video to product
PHP | 4 hours ago | 3.71 KB
greetings human
5 hours ago | 0.03 KB
OoT rando seed 6/1
11 hours ago | 68.21 KB
Geofencing - Lot of Rollover Budget
17 hours ago | 0.48 KB
Preface prompt for offline apps
22 hours ago | 2.31 KB
Untitled
1 day ago | 5.42 KB
Secrets.kdbx
2 days ago | 166.19 KB
Energy limiter
3 days ago | 0.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!