inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 23, 2015 19:42:06 GMT -8
|
|
inherit
243515
0
Jun 7, 2017 14:51:24 GMT -8
Keen - Summit of Legends
142
April 2017
keenbean
|
Post by Keen - Summit of Legends on Apr 21, 2017 6:05:06 GMT -8
Okay so I was told to move the conversation over here X3
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 26, 2017 7:09:20 GMT -8
Okay so I was told to move the conversation over here X3 I checked out your current code and realized that it's throwing an error on the date aspect. <div class="container">
<div class="title-bar"><div align="center"><h2>Server Time</h2></div></div>
<div class="content" style="padding: 10px;">
<div align="center"> <div id="uctxt"></div><span class="ucdate"></span></div>
</div>
</div>
<script>$('.ucdate').html(' '+new Date(pb.data('serverDate')).getDate()+'/'+(new Date(pb.data('serverDate')).getMonth()+1)+'/'+new Date(pb.data('serverDate')).getUTCFullYear())</script>
That should be the final code that works if you want it day/month/year or this for month/day/year <div class="container">
<div class="title-bar"><div align="center"><h2>Server Time</h2></div></div>
<div class="content" style="padding: 10px;">
<div align="center"> <div id="uctxt"></div><span class="ucdate"></span></div>
</div>
</div>
<script>$('.ucdate').html(' '+(new Date(pb.data('serverDate')).getMonth()+1)+'/'+new Date(pb.data('serverDate')).getDate()+'/'+new Date(pb.data('serverDate')).getUTCFullYear())</script>
|
|
inherit
243515
0
Jun 7, 2017 14:51:24 GMT -8
Keen - Summit of Legends
142
April 2017
keenbean
|
Post by Keen - Summit of Legends on Apr 26, 2017 13:27:47 GMT -8
I dont remember where to put it X3
God it! Thank you ^-^
|
|
inherit
256305
0
Sept 6, 2018 18:42:24 GMT -8
aaronstephens
1
September 2018
aaronstephens
|
Post by aaronstephens on Sept 6, 2018 18:30:00 GMT -8
okay unrelated issue no programing experience to lead me through this. I am attempting to get the time set to one other than the server time(as it must be local) specifically from est to utc. No changes in forum settings will help. Thank you for your time.
|
|