Is anyone knows how to convert date or string to a number in SAQL?   specifically convert this: toString(now(), "yyyy") into number
I want to do calculations with dates and use 'current year' in a formula condition. When I tried to manipulate dates in a formula I always receive an error of incompatibles types; NUMBER AND DATE.   Because of that I had to convert the date fields into numbers in the dataflow. It worked but I didn't resolve the issue of current year because it is impossible to convert a field that change with time. The condition and the formula is the following:  case     when  'Date_Month'+'Date_Year'*12&gt; 2+'current year'*12 then 0 when ('current-'Date_Year')*12+(2-'Date_Month')) % max('Billing_Periodicity') == 0 then 'Parcel_Bill' else 0    Many Thanks for your attention and help
Do PhD courses in engineering fields in European non-English speaking countries require knowledge of the native language? Can a Ph.D. student who only knows how to speak English study in a European non-English speaking country (e.g., Austria, Netherlands, Switzerland, Italy, etc.)  without any problems? Does applying to these universities require knowledge of that country's language? Is the product of two non-holomorphic function always non-holomorphic? Suppose $h(z)$ is a complex function. I have noticed that $h(z) = f(z)\cdot g(z)$, where $f(z)$ and $g(z)$ are non-holomorphic. Can $h(z)$ be holomorphic?   Can a similar statement be made, if $f(z)$ is holomorphic, but $g(z)$ is not? Uncaught rerender threw an error in 'markup://aura:expression' [info.$component$.$isValid$ is not a function] i'm trying to set a list of string to an aura:attribute and i get this error:     Uncaught rerender threw an error in 'markup://aura:expression'   [info.$component$.$isValid$ is not a function]   that's the attribute:  &lt;aura:attribute name="parents" type="String[]"/&gt;   i call this function in js:  test: function(component){     var action = component.get("c.test");         //Set up the callback         var self = this;         action.setCallback(this, function(actionResult) {                   debugger;             component.set("v.parents", actionResult.getReturnValue());         });                 $A.enqueueAction(action);    }   and thats the function:  @AuraEnabled public static List&lt;String&gt; test(){     String[] a = new String[]{};     a.add('1');     a.add('2');     return a; }   please help Thanks Can we insert or update FieldSets using apex code? Although we can create or update fieldsets using salesforce UI but Is there any way to insert or update FieldSets using apex code (using metadata or API calls) ? Inform new users if they can upvote an answer they accepted I surprisingly often stumble upon answers which were accepted but clearly not upvoted by the asker. For example, the answer has not received any upvotes at all or the asker’s vote count is zero. While I acknowledge that , most such cases happen with new users, who have only recently received the privilege to vote and who upvote after a friendly reminder.  Given the anonymity of votes and that I do not check the asker’s profile for every question with an accepted answer I stumbled upon, I assume that there is a huge dark figure for this phenomenon. Also, I naturally most often spot this on my own answers, which makes reminding the asker of their privileges somewhat awkward.  I thus propose that users which accept an answer are reminded by a pop-up that they can upvote it, if:   They haven’t already upvoted it. They have the reputation required for voting. They have cast less than a handful of votes.   I consider the latter criterion to be better than an upper reputation for which the message is displayed, since I know at least one user with several thousand reputation points, who has cast much less upvotes or votes on answers than he has accepted answers on some sites (not that his acceptance rate or general feedback on answers is spectacular). Where did dedicated.abac.net. come from in my rDNS and PTR records? So I followed this guide to the letter:   I did so for 3 domains.  When I "test" the records and enter: host 64.150.176.81 on my linux machine, it shows me 81.172.150.64.in-addr.arpa domain name pointer 64-150-172-81.dedicated.abac.net.  when it should be showing me 81.176.150.64.in-addr.arpa domain name pointer 64-150-172-81.example.com.  Has anybody encountered a similar problem?  I am hosting with codero, not abac.net btw. What bends fabric of space-time? I know that mass can bend fabric of space-time, which causes gravity by making an object curve around a planet or star but is there anything else that can bend it?  Other energy sources, forces anything? Will $\sum^{\infty}_{n=1}|a_n|^p$ converge? Given that $\sum^{\infty}_{n=1} a_n^2$ converges,then, will $$\sum^{\infty}_{n=1}|a_n|^p$$ converge for $p&gt;2$?  I couldn't find a counterexample neither a proof but it looks to me that this is true. For $p=3/2$, I found the counter example $\sum a_n=\displaystyle \sum^{\infty}_{n=1} \frac{1}{n^{2/3}}$ Expected number of times a set of 10 integers (selected from 1-100) is selected before all 100 are seen Suppose I have a set of 100 integers. I randomly choose 10 of those, make a note of which ones I selected, and repeat the process. What is the expected number of times this process must be repeated before I see all 100 integers?  I'm also greatly interested in how this is calculated as I'm trying to increase the expected number of times this process is repeated by changing the set sizes. How to pass parameters in batch file and zip the file using 7z.exe? I need to create a batch file as per below requirements  1) pass path1 &amp; path2 while running the batch file  exl: testrun.bat E:\ERP\test1.txt E:\ERP\header.txt  2) Need to store these command line paths values in batch file  exl: var1=E:\ERP\test1.txt var2=E:\ERP\header.txt  3) zip the path1 using PKZIPW.exe or 7z.exe and create new o/p zip file  exl: 7z.exe u -tzip E:\Erp\Test1.zip var1  4) copy path2 in newly created o/p file  exl: copy /b var2+test1.zip E:\Erp\Final_output.zip Let $X\subset \mathbb{R}$ Lebesgue measurable, $|X|<|\mathbb{R}|$, is it true that $X$ is null? Let $X\subset \mathbb{R}$ Lebesgue measurable, $|X|&lt;2^{\aleph_0}$, is it true that $X$ is null?  Of course I am not assuming the Continuum Hypothesis.   EDIT: It might be helpful to know that all Borel measurable sets have cardinality either $\aleph_0$ or $2^{\aleph_0}$. Then a measurable set of cardinality strictly between those two must be Lebesgue but not Borel measurable. In Avatar: The Last Airbender, Aang's eyes glow when he goes into the Avatar State. This seems to be the case with all Avatars, but Aang and the other airbending Avatars tattoos glow too.      Is there any reason for why airbending Avatars tattoos glow as well as their eyes? Why does the x86-64 / AMD64 System V ABI mandate a 16 byte stack alignment? Currently, the number of "votes cast" excludes votes on deleted content. Once something gets deleted that you voted on, that vote vanishes from your stats. This of course happens frequently especially with down-votes - if you're a good voter, stuff you downvote often ends up getting deleted.  Seeing as the idea behind the public display of total votes you've cast is to encourage voting, is this really fair?   Also, doesn't it distort greatly all voting stats, especially when looking at candidates for moderator elections and such? DES — Can I recover the key when I have both ciphertext and the plaintext? Given a message and DES encrypted form of said message, is it possible to efficiently compute the key used to encrypt the data? Where does the damage of relocated dashes land? The end location of a dash or jump can be changed by an ability that pushes () or pulls () you. So for example I try to  on the adc, but a Blitzcrank pulls me, preventing me from landing on my chosen spot.  Will I deal my AoE damage around the adc, where I tried to land, or around the Blitzcrank, where I ended up landing? How do I iterate over cin line by line in C++? Where do I place my own .sty or .cls files, to make them available to all my .tex files? I know how to define a package or a class, but how do I make it available (to myself) at all times?  Say I have the package file commonstuff.sty (or myprettyclass.cls), that I want to be able to include in any .tex file I create on my computer. Where do I put it? Do I need to run some installer on it, or is it enough to keep it in a certain folder?  Note: I know I can just place it in the same folder as the .tex file, but that's not what I'm after here. I'm looking for a way to "install" the package centrally on my computer. converge and converge absolutely of a series $f(x)$ is a continuos fuction in $[0, 1]$ and differentiable twice on $0$.  $U_n=(-1)^{n}f(\frac{1}{n})$. I need to prove that:   $1.$if $\sum_{n=1}^\infty U_n$ converge then $f(0)=0$.  $2.$if $f(0)=f'(0)=0$ then $\sum_{n=1}^\infty U_n$ converge absolutely.  Now, from the detail that $f(x)$ is differentiable twice on $0$ I think I need to write $f(1/n)$ with Maclaurin series with 2 degree but it doesn't work very nice. can you guide me please? thanks! How do I access a page's HTTP response headers via JavaScript?  Related to , which was modified to ask about accessing two specific HTTP headers.     Related: