Forum Discussion
Joe_Williams
Professor
3 months agoI can't edit my own post, dumb.
You can add a text widget, edit the source with something like this:
<script>
var currentdate = new Date();
var datetime = "Last Sync: " + currentdate.getDate() + "/"
+ (currentdate.getMonth()+1) + "/"
+ currentdate.getFullYear() + " @ "
+ currentdate.getHours() + ":"
+ currentdate.getMinutes() + ":"
+ currentdate.getSeconds();
</script><script type="text/javascript">
document.write(datetime)
</script>
It will show up that way. Adjust the date/time to be your proper format, I just noticed how ugly the date format is but that works.
dancox
Neophyte
3 months agoThanks for this Joe! This would probably have worked for us, however we currently have the "Allow Scripts in Dashboard Text Widget" disabled on our portal for security reasons so unfortunately not viable for us