首页 \ 问答 \ 每周增加两次(Increase number twice a week)

每周增加两次(Increase number twice a week)

如何在特定日期和时间每周两次增加网页上的数字?

例如,网页将显示:

“2苹果”

但是每周二和周四晚上9点,这个数字应该增加2。

所以到星期五这个数字应该增加到6“苹果”

在Javascript,php或Jquery中增加此功能的简单方法是什么?


How would you increase a a number on a webpage twice a week on specific days and times?

For example the webpage would read:

"2 Apples"

However every Tuesday & Thursday at 9:00pm the number should increase by two.

So by Friday the number should have increased to 6 "Apples"

What's a simple way to increment this in Javascript, php or Jquery?


原文:https://stackoverflow.com/questions/35357513
更新时间:2021-08-31 13:08

最满意答案

这些是我喜欢的一些:


These are some I like:

相关问答

更多
  • 对于我的汇编语言课程,我们使用的是Bill推荐的书。 我的教授还推荐了这本书: 汇编语言一步一步:用DOS和Linux编程 。 他说这是他知道的唯一涵盖NASM的书(并且已经过时)。 For my Assembly language class, we're using the book that Bill recommends. My professor also recommended this book: Assembly Language Step-by-step: Programming with ...
  • 对于一本书,试试 高级Windows调试(Addison-Wesley微软技术系列) 高级Windows调试http://knowfree.net/wp-content/uploads/2008/02/032137446001l.jpg 另外,对于一个很好的参考表,参见 罗伯特·库斯特(Robert Kuster )的共同WinDbg命令(主题分组) 。 For a book, try Advanced Windows Debugging (Addison-Wesley Microsoft Technolo ...
  • 实际上,微软现在使调试工具可以从SDK中单独下载。 在“中间页面”中查找“Windows独立调试工具(WinDbg)”部分: 适用于Windows 8.1 对于Windows 10 Actually, Microsoft has now made the Debugging Tools downloadable separately from the SDK. Look for the section "Standalone Debugging Tools for Windows (WinDbg)" abo ...
  • 我一直在使用vi和vim大约20年,而且我还在学习新事物。 David Rayner 最佳Vim Tips网站是一个很好的列表,尽管在熟悉vim之后它可能更有用。 我还想提到ViEmu网站,它有一些伟大的信息, vi / vim提示 ,特别是文章为什么,为什么这些nutheads使用vi? ( 归档版 ) I've been using vi and vim also for some 20 years, and I'm still learning new things. David Rayner's B ...
  • Brad Abrams有一系列关于RIA Sevices的文章 ,从什么是.NET RIA Services开始? 。 MSDN也有介绍 。 然而总之,RIA服务的主张是框架代码从服务器端(域)层生成一个客户端层。 因此,它暴露了你的实体客户端和照顾网络(现在使用WCF)。 当然你可以自己编码。 RIA服务最大的收益是时间,因为您很高兴能够遵守RIA Services的做法。 我已经将它用于Silverlight客户端,并发现它易于使用,并且有必要编写由框架照顾的服务层管道。 Brad Abrams has ...
  • 这些是我喜欢的一些: Maoni Stephens和Claudio Caldato在MSDN上的文章 Maoni的博客 (最近没有更新,但它包含很多有用的资料) Tess Fernandez有很多关于windbg的信息,请查看她在Barcellona的视频。 她还有一篇名为“ 学习.NET调试 ”的文章肯定会有所帮助。 我建议你订阅这个博客,它总是带有关于调试的新信息。 Wintellect的John Robbins在MSDN杂志上有一个名为BUGSLAYER的专栏,因此请检查一下,并且他的书“ 调试Mic ...
  • 如果你在erlang中进行erlang通信,你不需要像rabbitmq那样的东西。 如果您需要以崩溃恢复能力的形式提供稳健性,了解某项工作是否已开始或已完成,是否能够让后端进程停止运行并且不必担心失去工作等等,那么rabbitmq就会有意义。 此外,如果您想在多种语言之间进行通信 - erlang和ruby或node.js,c#,c ++,python等等,rabbitmq使这一切变得简单。 使用rabbitmq,您可以使用代理与分布式系统(无代理)获得分离的分布式系统( https://www.rabbi ...
  • 如果你想在返回之前停止,你可以使用pt 。 如果你想在返回后停止,请使用gu 。 后者使用热键Shift + F11在Debug菜单上显示为“Step Out”。 这些以及更多内容列在了有用的windbg.info(特别是这个页面 )上。 If you want to stop before returning, you can use pt. If you want to stop after returning, use gu. The latter is on the Debug menu as "S ...
  • WinDbg不需要任何安装。 如果您愿意或者只是XCOPY部署它,您可以从USB棒上运行它。 微软确保WinDbg不需要任何特定的注册表设置等来运行。 从微软引用 只要我记得,windbg程序员在确保安装不需要任何注册表设置或其他COM注册或任何其他操作的前提下一丝不苟。 对于使用WinDbg调试托管代码所需的SOS,这是.NET框架的一部分,所以如果.NET存在于机器上,那么正确版本的SOS也是如此。 WinDbg doesn't require any installation. You can run ...
  • 在我看来,在提出问题时你有最新版本的WinDbg:6.3.9600.16384,它附带Microsoft Windows SDK for Windows 8.1 。 我正在维护一个WinDbg版本列表 ,也试图包含下载链接和非官方版本,只要我知道它们。 In my opinion you have the latest version of WinDbg at the time of asking the question: 6.3.9600.16384 which comes with Microsoft ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。